Fork me on GitHub
Subscribe 4

Ticket #802 (invalid bug)

url tag broken when url contains '['

  • Created: 2013-01-09 11:13:41
  • Reported by: Snark1994
  • Assigned to: None
  • Milestone: None
  • Component: markup
  • Priority: normal

Note: I had lots of difficulty posting this bug report because the bug tracker won't let me use links: so I've put WEBSITE instead of an actual url, and used parentheses instead of square braces around tags.

The url tag doesn't parse URLs containing the '[' character:

(url)WEBSITE[0](/url)
(url="WEBSITE[0]")Example site(/url)
(url='WEBSITE[0]')Example site(/url)
(url)WEBSITE[(/url)

This was noticed on bbs . archlinux . org, but I'm afraid I don't know what version of FluxBB they use.

History

adaur 2013-01-09 15:30:54

Hello,

I am not sure this is actually a bug since brackets are not a valid character within URLs.

Snark1994 2013-01-09 15:40:07

Is it not? Sorry, in that case - it's a fault in their server for generating such links, then. This ticket can be closed.

JohnLewis 2013-01-09 15:46:51

  • Status changed from open to invalid.

Franz 2013-01-09 21:28:25

They are actually allowed, but only when enclosing IPv6 addresses.

See this StackOverflow answer for reference.