In game chat doesn't allow clicking URLs

Started by Tlaloc

Seth Cooper Staff Lv 1

This change has gone out in the most recent update. If a chat message contains only a URL with one of the above prefixes, it will get preprended with "LINK: " and be clickable.

ptfrog Lv 1

Great stuff! A minor bug has turned up: URLs containing a '#' aren't handled. Example:
fold.it/portal/node/991511#comment-15226

ptfrog Lv 1

PS: I have modified urlBot to account for these changes to the client:

(1) Links that are newly clickable will be ignored. Once the '#' thing has been corrected, I'll ignore those URLs too.

(2) A URL that would be clickable if it was alone on the line, e.g.
irc> See the link at http://fold.it/portal/comment/reply/988174/15967
will be made clickable by resending the URL on a new line

(3) Other URLs are made Tiny as they were before

(4) One other minor change; the minimum length to tiny-fy has been raised from 30 to 32. (A TinyURL is 26 characters.)

Please let me know if I have missed anything or introduced any bugs. (Yes, I know that some folks consider this bot to be evil incarnate – but that discussion has run its course. Constructive criticism is welcome.)

beta_helix Staff Lv 1

this fix has been posted in the Developer Preview and will go out in the next update to main.

B_2 Lv 1

None of http://foldit.wikia.com should be clickable since it is content not under the control of the Fold.it project, it could be links to anything that anyone - good or evil - could post there.

spmm Lv 1

thanks for taking the time to fix the urlbot to not respond to clickable links