[wp-trac] [WordPress Trac] #16330: media_sideload_image() broken with URLs containing spaces
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 9 00:16:18 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: |
--------------------------+----------------------
Comment (by hakre):
Thank you for taking the time to report the issue.
As sivel wrote, URLs containing spaces are considered invalid. That's by
the standards, so not a wordpress issue.
However as you wrote you might still have a related problem.
To further test, please replace the spaces inside the URL with %20 (that's
the proper way how to write a space inside a URL) and try to fetch that
file.
If this does not work, you need to find out which error it is returning
and you need to find out which transport you're using. To reduce noise,
you can install a plugin like
[http://core.trac.wordpress.org/attachment/ticket/11499/11499-curlforce.php
11499-curlforce.php] that will enforce the use of curl for debugging
purposes, so the curl based transport will be always used.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16330#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list