[wp-trac] [WordPress Trac] #14148: wp_get_attachment_url() is not url encoding
WordPress Trac
noreply at wordpress.org
Fri Oct 12 13:00:28 UTC 2018
#14148: wp_get_attachment_url() is not url encoding
-------------------------------------------------+-------------------------
Reporter: danorton | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
| Release
Component: Security | Version: 3.0
Severity: major | Resolution:
Keywords: has-patch needs-testing dev- | Focuses:
feedback needs-unit-tests needs-refresh |
-------------------------------------------------+-------------------------
Comment (by mukkoo):
I've checked this issue and related patches but I can't reproduce a bugged
context.
Uploading a media that needs encoding WordPress remove all special chars
making this scenario not reproducible.
I've used tests/phpunit/tests/media.php as test base using
{{{
$filename = DIR_TESTDATA . '/images/test%%%%image-large.png';
}}}
uploading this media WordPress remove all special chars leaving
{{{testimage-large.png}}}
Can someone suggest any possible way to replicate bug?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14148#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list