[wp-trac] [WordPress Trac] #16330: media_sideload_image() broken with URLs containing spaces
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 8 23:40:29 UTC 2011
#16330: media_sideload_image() broken with URLs containing spaces
--------------------------+----------------------
Reporter: Coolkevman | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: HTTP | Version: 3.1
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+----------------------
Changes (by sivel):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
WordPress will support encoding the space as %20. Per RFC 1738, spaces
are deemed unsafe and as such "All unsafe characters must always be
encoded within a URL". Consider using urlencode or similar to encode
unsafe characters in parts of the url.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16330#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list