Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Showing HTTPS links in mail messages...

Quote Reply
Showing HTTPS links in mail messages...
Hi

Currently GTMail doesn't recognize the "https://..."
sites. It only recognizes the 'http://...' tags.
I have just simply edited all the occurrences of

'http://...'

in the code to

'https?://...'

and now it seem to work as desired. I would like this
to be part of next release so that I dont need to
keep track of what to update when I get the next
upgrade. TIA.

-Srinivas
Quote Reply
Re: [srinivas] Showing HTTPS links in mail messages... In reply to
Hi,

What do you mean about 'recognize'? Do you mean in auto-creating links found in emails?

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Showing HTTPS links in mail messages... In reply to
Hi

Yes, if I have "http://www.hindunet.com/" as text
in the mail message it is recognised as a link and
can be clicked on. But if the protocol is either 'https'
or 'ftp' then it is not made as a link but show up
as text (so I will have to copy and paste it into the
new browser window).

Thanks.

-Srinivas
Quote Reply
Re: [srinivas] Showing HTTPS links in mail messages... In reply to
Hi,

Try editing admin/GMail.pm and change line 830 from:

$_[0] =~ s!(http://\S+)(\Z|\s|\b)!

to:

$_[0] =~ s!((?:https?|ftp|mailto|news|telnet)://\S+)(\Z|\s|\b)!

and I think it should work.

Cheers,

Alex
--
Gossamer Threads Inc.

Last edited by:

Alex: Mar 4, 2002, 5:49 PM
Quote Reply
Re: [Alex] Showing HTTPS links in mail messages... In reply to
Hi Alex

Thank you for the fix. Can you make sure this fix
will be in the next version of GTMail. This way every
one gets the fix and individual users like me do not
have to keep track of changes made. TIA.

-Srinivas
Quote Reply
Re: [Alex] Showing HTTPS links in mail messages... In reply to
It's so important to keep track of these bug fixes. I don't see this one in a November install......

Unsure

Diversity by Design