[wp-trac] [WordPress Trac] #14148: wp_get_attachment_url() is not url encoding
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 30 00:35:24 UTC 2010
#14148: wp_get_attachment_url() is not url encoding
--------------------------+-------------------------------------------------
Reporter: danorton | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0
Severity: major | Keywords: url, query
--------------------------+-------------------------------------------------
Comment(by danorton):
Replying to [comment:1 nacin]:
> Can you post an example URL and what would get returned with and without
the patch?
For a file named "X%X.txt"
Currently the URL returned is:
.../wp-content/uploads/2010/06/X%X.txt
This patch corrects it to return:
.../wp-content/uploads/2010/06/X%25X.txt
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14148#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list