Bug #140

mailto bug when address contains "+"

Added by I N 8 months ago. Updated 3 months ago.

Status:NewStart date:12/27/2013
Priority:NormalDue date:
Assignee:Hiroyuki Yamamoto% Done:

0%

Category:SylpheedSpent time:-
Target version:3.4

Description

When link like mailto: are opened in Sylpheed, field To: contains address without "+".

I use Sylpheed 3.4 b7.

History

#1 Updated by Matthias Fassl 3 months ago

This isn't actually a bug. According to RFC 6068 "The 'mailto' URI Scheme" the + sign should be URI encoded. Sylpheed does the right thing and URI decodes the email address which leads to replacing all + signs with spaces.

The correct encoded mailto link should be mailto:


   1.  A number of characters that can appear in <addr-spec> MUST be
       percent-encoded.  These are the characters that cannot appear in
       a URI according to [STD66] as well as "%" (because it is used for
       percent-encoding) and all the characters in gen-delims except "@" 
       and ":" (i.e., "/", "?", "#", "[", and "]").  Of the characters
       in sub-delims, at least the following also have to be percent-
       encoded: "&", ";", and "=".  Care has to be taken both when
       encoding as well as when decoding to make sure these operations
       are applied only once.

Also available in: Atom PDF