[wp-trac] Re: [WordPress Trac] #6768: Punctuation can break photo
uploads
WordPress Trac
wp-trac at lists.automattic.com
Tue May 12 16:56:25 GMT 2009
#6768: Punctuation can break photo uploads
------------------------------------+---------------------------------------
Reporter: flammable | Type: defect (bug)
Status: new | Priority: normal
Milestone: 2.9 | Component: Upload
Version: 2.5 | Severity: normal
Keywords: gallery image uploader |
------------------------------------+---------------------------------------
Comment(by Denis-de-Bernardy):
confirmed in trunk. it's probably due to swfuploader. placing the
following in async-upload.php reveals some information:
{{{
header('Content-Type: text/plain; charset=' . get_option('blog_charset'));
var_dump($_FILES);die;
/*
array(1) {
["async-upload"]=>
array(5) {
["name"]=>
string(4) "test" // should be test?.jpg
["type"]=>
string(24) "application/octet-stream"
["tmp_name"]=>
string(26) "/private/var/tmp/phpxbU53I"
["error"]=>
int(0)
["size"]=>
int(15243)
}
}
*/
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6768#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list