Export to GitHub

miranda - issue #1647

Hyphens/dashes at the end of a URL in a message are stripped from the clickable hyperlink


Posted on Oct 18, 2012 by Happy Bear

Miranda Version : v0.10.2.0 / Built Sep 5 2012 10:45:26 Unicode Build : Yes

When sending or receiving a URL to/from someone which contains a hyphen ("-") on the end of the URL, Miranda does not make this part of the URL as clickable.

For example, if you send someone a URL like this:

http://www.dslreports.com/forum/r27542017-

Miranda makes only the following part of the text clickable:

http://www.dslreports.com/forum/r27542017

...and thus takes you to the URL without the hyphen on the end, which of course returns HTTP 404.

I have spent a lot of time reading RFCs about this and all sorts of posts on stackoverflow about this -- believe it or not, hyphen as the last character of a URL is actually permitted/legitimate per RFC. I realise it doesn't seem logical/read easily, but it's legitimate.

Thanks.

Status: New

Labels:
Type-Bug Priority-Medium