[wp-trac] Re: [WordPress Trac] #7386: clean_url() shouldn't touch
dollar, asterisk or single quote characters
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 7 07:55:19 GMT 2008
#7386: clean_url() shouldn't touch dollar, asterisk or single quote characters
-----------------------+----------------------------------------------------
Reporter: sambauers | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.7
Component: General | Version: 2.6
Severity: minor | Resolution:
Keywords: has-patch |
-----------------------+----------------------------------------------------
Comment (by markjaquith):
> Yes, but invalid if the url also contains a single quote.
So we can HTML-entity-encode single quotes if we're displaying the URL,
leave it alone if we're not. Requiring double quotes is simply not an
option. I'll make a patch.
--
Ticket URL: <http://trac.wordpress.org/ticket/7386#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list