[wp-trac] [WordPress Trac] #16330: media_sideload_image() broken with filenames containing strange characters (e.g., +, %)
WordPress Trac
noreply at wordpress.org
Sun Jun 29 13:04:30 UTC 2014
#16330: media_sideload_image() broken with filenames containing strange characters
(e.g., +, %)
-------------------------------------------------+-------------------------
Reporter: Coolkevman | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future
Component: Media | Release
Severity: major | Version: 3.1
Keywords: has-patch needs-testing 3.5-early | Resolution:
needs-unit-tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by mattheu):
> I have updated the regex that handles replacing spaces and dashes to do
this. Also updated unit tests.
Actually - used str_replace to handle this before the regex to handle
dashes/whitespace
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16330#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list