Closed (fixed)
Project:
Bbcode
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Nov 2004 at 11:40 UTC
Updated:
27 Jan 2006 at 21:01 UTC
The BBcode module doesn't include any text after a ":" in a url string that is within [url=abc] tags.
Here's an example:
http://en.wikibooks.org/wiki/Transwiki:How_to_learn_a_language
That gets cut down to:
http://en.wikibooks.org/wiki/Transwiki
One option, as a middle step, is to allow users to optionally use quotation marks in the bbcode url tags to specify the whole url. (This is probably a good idea anyway, even if the bug is fixed some other way. This way, users who are used to using quote marks in href's aren't too inconvenienced.)
Comments
Comment #1
mindless commentedAll the regexps in bbcode-filter.inc have this (?::\w+)? fragment inside the [ ] tags (even end tags). These just strip out any :suffix, they aren't used in the output at all... anyone know the purpose of these? [url:test]www.test.com[/url:anything]
Simply remove this fragment from the line for [url=.... tags and an url with a colon will work.
Comment #2
naudefj commentedFixed in CVS.
Comment #3
(not verified) commented