SiT! Bugs - SiT!
View Issue Details
0000142SiT!otherpublic2008-08-03 16:042008-11-21 17:27
paulh 
paulh 
normalmajorhave not tried
closedfixed 
3.36 
3.403.40 
0000142: link and image bbcode doesn't work
If you update an incident or kb article with bbcode (image or link) the link or included image dont appear correctly you get the following:

[url]www.bbc.co.uk[/url">http://www.bbc.co.uk[/url] [^]

[img]http://news.bbc.co.uk/1/hi/world/south_asia/7539509.stm[/img] [^]
No tags attached.
Issue History
2008-08-03 16:04paulhNew Issue
2008-08-13 19:32paulhTarget Version => 3.40
2008-08-13 19:33paulhStatusnew => confirmed
2008-10-08 20:16kieranNote Added: 0000113
2008-10-08 20:43kieranStatusconfirmed => feedback
2008-10-19 15:15paulhNote Added: 0000117
2008-10-19 15:15paulhAssigned To => paulh
2008-10-19 15:15paulhStatusfeedback => resolved
2008-10-19 15:15paulhResolutionopen => fixed
2008-10-19 15:15paulhFixed in Version => 3.40
2008-11-21 17:27kieranStatusresolved => closed

Notes
(0000113)
kieran   
2008-10-08 20:16   
It seems other parsers have a problem with this too. We can either use the URL without the http:// which works fine or use them with quotation marks, any opinions? Also of note, the bbcode buttons don't allow this syntax so it's not that major.
(0000117)
paulh   
2008-10-19 15:15   
r4047 resolves this, we dont expand hrefs any more

also ammended regex so anything without http:// gets this prepended i.e. www.bbc.co.uk becomes http://www.bbc.co.uk [^]