Skip Menu |

This queue is for tickets about the URI CPAN distribution.

Report information
The Basics
Id: 95212
Status: new
Priority: 0/
Queue: URI

People
Owner: Nobody in particular
Requestors: arw [...] cs.fau.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: mailto-URI encodes space as + (plus sign), where %20 would be preferable
Date: Wed, 30 Apr 2014 18:01:44 +0200
To: bug-URI [...] rt.cpan.org
From: Alexander Wuerstlein <arw [...] cs.fau.de>
Hello, RFC6068 section 5 recommends encoding the space character as %20, where URI.pm uses '+' which is discouraged (though not forbidden) quoting RFC6068: | Current implementations encode | a space as '+', but this creates problems because such a '+' standing | for a space cannot be distinguished from a real '+' in a 'mailto' | URI. When producing 'mailto' URIs, all spaces SHOULD be encoded as | %20, and '+' characters MAY be encoded as %2B. Please note that '+' | characters are frequently used as part of an email address to | indicate a subaddress, as for example in <bill+ietf@example.org>. Changing the encoding of space to %20 would also fix interoperability problems with Thunderbird and possibly other MUAs: Thunderbird uses '+' characters as such and does not back-replace them with spaces. Ciao, Alexander Wuerstlein.