[wp-trac] [WordPress Trac] #18412: "%20" in an uploaded image file name breaks thumbnails
WordPress Trac
noreply at wordpress.org
Sun May 25 23:29:05 UTC 2014
#18412: "%20" in an uploaded image file name breaks thumbnails
--------------------------+------------------------------
Reporter: ripperdoc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 2.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:12 ericlewis]:
> Should we be URL-unencoding before naming the file on the server, so if
I upload `Eric%20Lewis.jpg`, the file on the server would be
`/path/to/uploads/dir/Eric Lewis.jpg` and the URL `siteurl.com/wp-
content/uploads/2014/05/Eric%20Lewis.jpg`?
This seems better to me than double-encoding.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18412#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list