[wp-trac] [WordPress Trac] #17052: wp_sanitize_redirect() removes square brackets from URL

WordPress Trac noreply at wordpress.org
Mon Dec 1 03:15:27 UTC 2014


#17052: wp_sanitize_redirect() removes square brackets from URL
--------------------------+--------------------------
 Reporter:  bluntelk      |       Owner:  johnbillion
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Formatting    |     Version:  3.1
 Severity:  minor         |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------
Changes (by johnbillion):

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


Comment:

 In [changeset:"30683"]:
 {{{
 #!CommitTicketReference repository="" revision="30683"
 Allow square brackets in a URL when it's sanitised for a redirect. Square
 brackets are valid in query parameters and IPv6 addresses.

 Fixes #17052
 Props voldemortensen
 }}}

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


More information about the wp-trac mailing list