[wp-trac] [WordPress Trac] #16330: media_sideload_image() broken with URLs containing spaces
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 28 14:20:14 UTC 2011
#16330: media_sideload_image() broken with URLs containing spaces
--------------------------+-----------------------
Reporter: Coolkevman | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: HTTP | Version: 3.1
Severity: normal | Resolution:
Keywords: |
--------------------------+-----------------------
Comment (by Coolkevman):
Replying to [comment:7 Coolkevman]:
> Now I think the problem lies somewhere in remote downloading code of
WordPress, when it first download the remote file to a temporary location
before moving it to the {{{uploads}}} folder. That's just a guess, I still
have to find hard evidences in the code...
Here is why I say this. Look at this empty
{{{pochette%20avant%20thumb.tmp}}} temporary file lying in {{{wp-
content}}} folder:
{{{
kevin at kev-laptop$ ls -lah ./wp-content
total 24K
drwxr-xr-x 5 www-data www-data 4.0K 2011-02-28 14:54 ./
drwxrwxrwx 7 www-data www-data 4.0K 2011-02-28 14:38 ../
-rwxr-xr-x 1 www-data www-data 30 2007-05-04 23:48 index.php*
drwxr-xr-x 5 www-data www-data 4.0K 2011-02-28 14:33 plugins/
-rw-r--r-- 1 www-data www-data 0 2011-02-28 14:46
pochette%20avant%20thumb.tmp
drwxr-xr-x 3 www-data www-data 4.0K 2011-02-23 15:53 themes/
drwxrwxrwx 3 www-data www-data 4.0K 2011-01-23 23:35 uploads/
$
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16330#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list