URL parsed incorrectly

Issue #55 closed
Winston Smith created an issue

I noticed when Cheetah posted an URL earlier that there was a flaw in parsing.

In chat : http://www.host.ext/path)/file.ext The url will be broken right before ")".

Whereas : http://www.host.ext/(path)/file.ext will break right after the ")".

Suggested fix : Use, as regular expression /(http://\S+)/

\S+ (capitalized) will capture anything not being a space character.

Cheers, Joe/Winston

Comments (3)

  1. Log in to comment