[wp-trac] [WordPress Trac] #16859: Square brackets are removed from links in blogroll

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 9 23:05:49 UTC 2011


#16859: Square brackets are removed from links in blogroll
------------------------------------+------------------------------
 Reporter:  f00f                    |       Owner:  edwardw
     Type:  defect (bug)            |      Status:  accepted
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  General                 |     Version:  3.1
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------
Changes (by edwardw):

 * keywords:  2nd-opinion => has-patch dev-feedback
 * owner:   => edwardw
 * status:  new => accepted


Comment:

 Even though brackets should be encoded for use in third-party applications
 in theory, we should not blame the user who often may not even be aware of
 this. Often the URL is copied from the location bar or other source where
 they have not encoded this, and especially due to PHP's use of brackets to
 pass arrays. I have attached a patch which ''urlencode()''s brackets when
 cleaning URLs.

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


More information about the wp-trac mailing list