Fork me on GitHub
Subscribe 4

Ticket #545 (invalid bug)

Brackets breaks URL tag

  • Created: 2011-11-29 16:31:48
  • Reported by: adaur
  • Assigned to: ridgerunner
  • Milestone: 1.4.8
  • Component: parser
  • Priority: normal

History

Franz 2011-11-29 16:53:54

  • Owner set to ridgerunner.

Jeff, can you tell us whether this will work with the new parser? Can this kind of URL even work with (non-self-closing) url tags?

If it does work with the new parser, I would just try to live with it and then be happy about it in 2.0 smile

quy 2011-12-01 19:57:13

It is not allowed in the new parser. Here is the error message:

Invalid URL name: http://fluxbb.fr/aide/doku.php?id=fluxbb_1_2:faq&s[]=debug

It is a non-issue when the URL is encoded:

[url=http://fluxbb.fr/aide/doku.php?id=fluxbb_1_2:faq&s%5B%5D=debugr]Test[/url]

ridgerunner 2011-12-02 00:58:24

The URL in question is invalid.

Square brackets are not allowed in the query portion of a URL. The only place they are allowed is to delimit a host specified as an IP literal (see: RFC-3986).

Franz 2011-12-02 10:59:51

  • Milestone set to 1.4.8.

So that means it's not a bug, but by design. Which in turn means this can be closed wink

quy 2011-12-02 18:28:31

I think so. Linkify will leave the URL as it and not make it clickable.

Franz 2011-12-02 19:59:06

  • Status changed from open to invalid.