URLs with colons

floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2005-09-23 19:03

Urls with colons in the forums don't work.
example:
http://codex.gallery2.org/index.php/Gallery2:Themes note that the :Themes is missing.

Dave

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 20:39

thanks, i've added a sf.net GMC task.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-09-23 20:46

with url= :
http://codex.gallery2.org/index.php/Gallery2:Themes

auto parsing, no url tag:
http://codex.gallery2.org/index.php/Gallery2:Themes

url tag, no =:
http://codex.gallery2.org/index.php/Gallery2:Themes

url tag with quotes:
[url="http://codex.gallery2.org/index.php/Gallery2:Themes"]http://codex.gallery2.org/index.php/Gallery2:Themes[/url]

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-09-25 17:04

The bbcode regexps for some reason filter out a :anything suffix on the start and end url tags.
[ url:blah ]www.example.com[ /url:hello ]
The above (without extra spaces) would work.. the regexp simply filters out the :suffix, doesn't do anything with it. Nor is it documented in the bbcode help.
So, I'll simply remove it.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sun, 2005-09-25 17:30