Corporate Information | Software | Support | Contact Us
Corporate Information
Software
Messenger Pro
Messenger Pro Downloads
Beta and Archived Downloads
Evaluate
Support
Messenger Pro FAQ
Messenger Pro Change Log
Messenger Pro (Windows/Linux/Mac) Mailing List Archive
Messenger Pro (RISC OS) Mailing List Archive
Bug Tracker
Contact Us

Re: Handling mailto links

From:Dave Higton Date:24 Feb 2016 15:22
In Reply To: Handling mailto links (Dave Higton)

On Wed, 24 Feb 2016 02:36:56 GMT Harriet Bazley wrote:

> On 14 Feb 2016 as I do recall,
>           Dave Higton  wrote:
> 
>> One for the developers:
>> 
>> MPro handles mailto links that contain the simplest form of destination
>> address (e.g. fred.bloggs@...) but not more complete ones
>> including the plain name (Fred Bloggs <fred.bloggs@...>)
>> 
> 
> How would MPro distinguish betwen
> 
> address e.g. fred.bloggs@...
> 
> and
> 
> Fred Bloggs <fred.bloggs@...>?
> 
> If the name isn't enclosed in any way, I don't see how the app is to know
> where it starts and stops.

Rainer Schubert has already explained the parsing.  But, in
the context of a mailto link, the problem's a bit different.
Everything to the left of the first question mark, or the
whole thing if there isn't a question mark, is the address.
The problem we're seeing with MPro is that lots of special
characters (special in this context) are escaped to three
characters - an ampersand and the hex value of the character
- but MPro doesn't escape them; it expects that the address
can only be something like "fred@...", none of which
needs to be escaped.  The crucial characters it needs to
deal with (to unescape) are space and the two angle brackets.

Everything to the right of a question mark is one or more
other arguments, such as the subject.

While we're at it, can anyone point out to me any more mailto
links that include a plain name?  It isn't possible to do a
web search for mailto, presumably to make life harder for
spammers to harvest addresses.

Dave

____________________________________________________________
Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords & protects your account.
Check it out at http://mysecurelogon.com/manager

______________________________________________________________________
This message was sent via the messenger-l mailing list
To unsubscribe, mail messenger-l+unsubscribe@...



© 2024 intellegit ltd. - info@intellegit.com