[wp-trac] [WordPress Trac] #10281: RSS Widget removes squared brackets »[« »]« from urls that link to the post

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 15 07:53:32 UTC 2011


#10281: RSS Widget removes squared brackets »[« »]« from urls that link to the post
-----------------------------+-----------------------------
 Reporter:  Christoph Knoth  |       Owner:  azaozz
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  Future Release
Component:  Widgets          |     Version:  2.8
 Severity:  normal           |  Resolution:  wontfix
 Keywords:                   |
-----------------------------+-----------------------------
Changes (by solarissmoke):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 From [http://www.ietf.org/rfc/rfc3986.txt RFC 3986]:

  A host identified by an Internet Protocol literal address, version 6
  [RFC3513] or later, is distinguished by enclosing the IP literal
  within square brackets ("[" and "]").  This is the only place where
  square bracket characters are allowed in the URI syntax.

 In other words, you shouldn't be having square brackets in a URL. And if
 you do, they should be urlencoded. I just tested an supplying the RSS
 Widget with urlencoded brackets works fine.

 Feel free to reopen if I've missed something.

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


More information about the wp-trac mailing list