[wp-trac] [WordPress Trac] #22694: Uploading File with Apostrophe in filename

WordPress Trac noreply at wordpress.org
Mon Dec 3 14:23:47 UTC 2012


#22694: Uploading File with Apostrophe in filename
--------------------------+------------------------------
 Reporter:  ianatkins     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  3.4.2
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 pavelevap]:
 > Tested in trunk and file is uploaded, but name is crippled:
 "s_Handbook_1.jpg"

 Confirmed. Not a new bug though, tested 2.0.11 and it's the same there.

 This is what `$_FILES` looks like:
 {{{
 Array
 (
     [async-upload] => Array
         (
             [name] => s_Handbook_1.jpg
             [type] => image/jpeg
             [tmp_name] => S:\tmp\phpCB2.tmp
             [error] => 0
             [size] => 16658
         )

 )
 }}}

 Appears to be a PHP bug: https://bugs.php.net/bug.php?id=31398

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22694#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list