[wp-trac] [WordPress Trac] #23605: esc_url() strips spaces instead of encoding them
WordPress Trac
noreply at wordpress.org
Wed Feb 27 22:58:21 UTC 2013
#23605: esc_url() strips spaces instead of encoding them
--------------------------+------------------------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by helen):
Aren't we mixing up escaping for display and actual encoding here? PHPDoc
for `esc_url()` does indicate that it removes characters, not encodes
them. Seems like there are any number of characters that are stripped
rather than encoded, not just spaces, for what it's worth.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23605#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list