09-16-2012, 10:48 PM
(09-12-2012, 01:36 AM)CompSci87 link Wrote:[quote author=OutsiderFan link=topic=6415.msg47416#msg47416 date=1347408678]
If you can't open the link, blame the admin for re-writing words.
Seeing that the board software is smart enough to recognize something that looks like a URL and make it into a link, it ought to be smart enough not to censor words in the URL. In a link, the text you see and the destination URL you get sent to by clicking are two different things, so the board software could even censor the text you see while leaving the destination URL alone.
If I find some time maybe I'll try to fix that...
[/quote]
I took a look at the code, and this is not easy to fix. The censoring function is applied in a far different part of the code from where URLs are made into links. Censoring just does a regular expression replacement across all the text. The RE has no idea what part of the text might be a URL. Yuck.

