mIRC Homepage
Posted By: Plasma Make http://hostname/ links clickable - 13/05/10 12:05 AM
Hi,

If someone mentions to me a link without a period in the hostname, such as http://hostname/page.php?a=b then the link is not clickable in mIRC.

This is because the hostname has no period, but this is a valid address for a local LAN network.

Can the URL feature please allow such links to be clicked?

Thanks
Posted By: Riamus2 Re: Make http://hostname/ links clickable - 13/05/10 12:13 AM
Determining valid links is not always simple, and mIRC's mostly just stuck to standard formats. That isn't to say it can't be improved, of course. In the meantime, you can use hotlinking in a script to set up your own URL controls to handle such links.
Posted By: Khaled Re: Make http://hostname/ links clickable - 13/05/10 07:34 AM
If I recall, I added the extra check for a period to prevent it from matching too many portions of text, however as long as the prefix is there, it should not be a problem. This change should be in the next version.
Posted By: Plasma Re: Make http://hostname/ links clickable - 21/05/10 01:11 AM
Sweet, thanks!

I noticed I made an error in my OP frown

The page that works is:
http://wiki/testpage.php

The page that does not work is:

http://wiki/testpage

The latter appears with a few new websites/wiki's that dont use periods in their URL at all.

Perhaps you can check that if text begins with (for eg) http:// then its a link up until the first space?
Posted By: Riamus2 Re: Make http://hostname/ links clickable - 21/05/10 01:17 AM
I think that was what he was saying... if it begins with http:// it will hotlink regardless of periods.
Posted By: Khaled Re: Make http://hostname/ links clickable - 21/05/10 10:56 AM
It looks like my link parsing routine is still being too restrictive/paranoid - it should handle that format in the next version :-)
© mIRC Discussion Forums