[wp-trac] [WordPress Trac] #41353: Async upload breaks when there are special characters into file name
WordPress Trac
noreply at wordpress.org
Tue Jul 18 09:29:31 UTC 2017
#41353: Async upload breaks when there are special characters into file name
-------------------------------+------------------------------
Reporter: bhargavbhandari90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.8
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------------+------------------------------
Changes (by MaximeCulea):
* keywords: needs-testing has-patch => has-patch
* focuses: administration =>
Comment:
@bhargavbhandari90,
Even if the issue could be handle at upstream level, I agree with you that
the escaping method here is not the best and cause an unwanted error.
As you pointed, you definitely need to use `set_url_scheme` and you
'''patch seems fine'''.
I just tested it and it works like a charm, so more need for `needs-
testing`.
I also took off the `administration` tag, as it's not into the
administration focus.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41353#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list