Fog Creek Software
Discussion Board




URLs in entries no longer clickable

We're running FogBUGZ Version 3.1.9 (DB 328), to which we upgraded recently.

It used to be the case that if I entered a URL in the textarea field while editing a case, the URL turned into a clickable link. With 3.1.9 that has stopped working. These are quite normal URLs: I tried http://www.qurb.com/ as a test.

Is this a preference we accidentally turned off? (I'm not the admin for our FogBUGZ installation so I wouldn't know. But our admin is not aware of any such change.)

Or have I discovered a regression?

Mike
Friday, October 03, 2003

You discovered a typo.  In 3.1.9 we added support for ms-help style urls.  The regular expression pattern has a typo in it though that prevents urls from being highlighted.

You can fix this now by doing the following.

Open util.asp in a text editor (in the fogbugz\website directory).  Look for the function TranslateTextIntoLinks.

Second line, change to
    re.Pattern = "((file|ftp|https?|ms-help)\:\/\/[^\s\<\>\)]*)"

(Notice where the ? mark is in the new line.. thats the typo)

Customer Service
Friday, October 03, 2003

Woops. My bad.

http://discuss.fogcreek.com/FogBUGZ/default.asp?cmd=show&ixPost=2113&ixReplies=3

Andrew Lighten
Tuesday, October 07, 2003

Well, my bad for not paying closer attention ;)

Michael H. Pryor
Wednesday, October 08, 2003

*  Recent Topics

*  Fog Creek Home