[wp-trac] [WordPress Trac] #23605: esc_url() strips spaces instead of encoding them

WordPress Trac noreply at wordpress.org
Wed Feb 27 23:56:38 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 jscampbell.05):

 Is there actually a away to encode spaces ? i.e " " becomes %20. I must
 say I expect most of the URI based functions to do this and not to simply
 strip away the spaces so they don't point to the correct resource.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23605#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list