Make WordPress Core

Opened 9 years ago

Closed 7 years ago

Last modified 7 years ago

#10281 closed defect (bug) (wontfix)

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

Reported by: Christoph Knoth Owned by: azaozz
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: Widgets Keywords:
Focuses: Cc:


Change History (3)

#1 @azaozz
9 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
7 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 7 years ago by solarissmoke (next)

#3 @nacin
7 years ago

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