#10281 closed defect (bug) (wontfix)
RSS Widget removes squared brackets »[« »]« from urls that link to the post
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.8 |
| Component: | Widgets | Keywords: | |
| Focuses: | Cc: |
Description
Change History (3)
#1
@
16 years ago
- Keywords rss widget squared brackets removed
- Milestone changed from 2.9 to Future Release
#2
@
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
(next)
Note: See
TracTickets for help on using
tickets.
clean_url() removes the brackets but a patch for that would need a lot of testing.