[wp-trac] [WordPress Trac] #16330: media_sideload_image() broken with URLs containing spaces

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 21 14:15:36 UTC 2011


#16330: media_sideload_image() broken with URLs containing spaces
--------------------------+------------------------------
 Reporter:  Coolkevman    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  HTTP          |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by Coolkevman):

 It looks like spaces in URLs are allowed, but considered unsafe according
 RFC 1738 (source: http://stackoverflow.com/questions/497908/are-urls-
 allowed-to-have-a-space-in-them/497972#497972 ), and should be percent-
 encoded.

 Anyway, if the WordPress project consider URLs containing spaces as
 invalids, what's left of this bug report seems to be: ''does URLs
 containing {{{%20}}} are supported by WordPress ?''. In which case it
 doesn't seems to work (which may be a problem on the remote server side
 and not on WordPress's).

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


More information about the wp-trac mailing list