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

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 5 07:49:18 UTC 2011


#17052: wp_sanitize_redirect() removes square brackets from URL
-------------------------------------+------------------------------
 Reporter:  bluntelk                 |       Owner:
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  3.1
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------
Changes (by bluntelk):

 * keywords:   => has-patch needs-testing


Comment:

 Hi dd32,

 Thanks for re-opening this ticket.

 I was working under the assumption that the characters we simply missing
 from the regular expression due to an oversight.

 It is a powerful feature to support.

 If it is determined under review that they should be stripped from the
 URL, we can always automatically encode the square brackets into their
 entities inside the function.

 Thanks for your time.

 Jason

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


More information about the wp-trac mailing list