Make WordPress Core

Opened 17 years ago

Closed 15 years ago

Last modified 15 years ago

#10281 closed defect (bug) (wontfix)

RSS Widget removes squared brackets »[« »]« from urls that link to the post

Reported by: christoph-knoth's profile Christoph Knoth Owned by: azaozz's profile azaozz
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: Widgets Keywords:
Focuses: Cc:

Description


Change History (3)

#1 @azaozz
16 years ago

  • Keywords rss widget squared brackets removed
  • Milestone changed from 2.9 to Future Release

clean_url() removes the brackets but a patch for that would need a lot of testing.

#2 @solarissmoke
15 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

From 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.

Version 0, edited 15 years ago by solarissmoke (next)

#3 @nacin
15 years ago

  • Milestone Future Release deleted
Note: See TracTickets for help on using tickets.