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

WordPress Trac noreply at wordpress.org
Wed Sep 2 17:19:31 UTC 2015


#23605: esc_url() strips spaces instead of encoding them
------------------------------------------+--------------------------
 Reporter:  johnbillion                   |       Owner:  johnbillion
     Type:  defect (bug)                  |      Status:  closed
 Priority:  normal                        |   Milestone:  4.4
Component:  Formatting                    |     Version:  2.8
 Severity:  normal                        |  Resolution:  fixed
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+--------------------------
Changes (by johnbillion):

 * owner:   => johnbillion
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33858"]:
 {{{
 #!CommitTicketReference repository="" revision="33858"
 Correctly encode spaces in URLs passed to `esc_url()` instead of removing
 them.

 Fixes #23605
 Props enshrined, johnbillion
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/23605#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list