Details
-
Bug
-
Resolution: Fixed
-
Minor
-
1.0 B1, 1.0 RC2
-
None
Description
There are 2 radeox filters that output links, the URLFIlter and LinkFilter. The URLFilter recognizes textual links inside the document, and the LinkFilter processes wiki links.
In the following example:
[please visit http://www.w3.org/ >http://www.w3.org/]
First the LinkFilter is executed, resulting in:
<span class="wikilink> <a href="http://www.w3.org/">please visit http://www.w3.org/ </a></span>
Then the URLFilter is executed, resulting in:
<span class="wikilink> <a href="http://www.w3.org/">please visit <span class="nobr"><a href="http://www.w3.org/"http://www.w3.org/</a></span> </a></span>
The URLFilter just checks that the URL isn't quoted, as an attribute, thus allowing the example above.
The solution is a better matching pattern, which prevents such situations.