Skip Menu |

This queue is for tickets about the Mail-SRS CPAN distribution.

Report information
The Basics
Id: 94861
Status: new
Priority: 0/
Queue: Mail-SRS

People
Owner: Nobody in particular
Requestors: rjbs [...] cpan.org
Cc:
AdminCc:

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



Run: use strict; use Mail::SRS; my $SRS = Mail::SRS->new( Secret => ["srs-bounce:xyzzy"], MaxAge => [14], ); my $addr = q{"\"press1 ibot\" <bounce"@press1.de}; print $SRS->forward($addr, 'bounce.com'); Get: SRS0=zWml=ZS=press1.de="\"press1 ibot\" <bounce"@bounce.com That's not a valid email address. -- rjbs
The spec is not forthcoming on what to do here. I suggest that any RFC821 <special> characters be backslash escaped so that given: "your \"face\""@example.com The rewrite look something like: SRS0=zzzz=tt=example.com=\"your\ \\\"face\\\"\"@bounce.com Converting the entire local-part to a quoted-string will probably confuse things looking for /\ASRS/ in the local-part. -- rjbs