#10281 closed defect (bug) (wontfix)
RSS Widget removes squared brackets »[« »]« from urls that link to the post
| Reported by: | Christoph Knoth | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Widgets | Version: | 2.8 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Change History (3)
#2
@
15 years ago
- Resolution → wontfix
- Status new → 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.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
clean_url() removes the brackets but a patch for that would need a lot of testing.