mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2004
Posts: 11
P
Plasma Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: Jun 2004
Posts: 11
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

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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.


Invision Support
#Invision on irc.irchighway.net
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
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.

Joined: Jun 2004
Posts: 11
P
Plasma Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: Jun 2004
Posts: 11
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?

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I think that was what he was saying... if it begins with http:// it will hotlink regardless of periods.


Invision Support
#Invision on irc.irchighway.net
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
It looks like my link parsing routine is still being too restrictive/paranoid - it should handle that format in the next version :-)


Link Copied to Clipboard