Skip Menu |

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

Report information
The Basics
Id: 27826
Status: resolved
Priority: 0/
Queue: Mail-Verp

People
Owner: gyepi [...] cpan.org
Requestors: joe [...] thisnext.com
Cc:
AdminCc:

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



Subject: all-equals email address fails to VERP decode
Date: Fri, 29 Jun 2007 17:24:33 -0700
To: bug-Mail-Verp [...] rt.cpan.org
From: Joe Edmonds <joe [...] thisnext.com>
I'm using Mail::Verp VERSION 0.05 . I would expect any valid, VERP-encoded address pair could be decoded. This pair cannot, because the recipient address contains an equals sign: perl -MMail::Verp -e '$v = Mail::Verp->new; print $v->decode($v->encode(q{a@example.org},q{=@example.com})),"\n";' Perhaps changing this line: $address =~ m/^(.+?)\Q${SEPARATOR}\E([^=]+)=([^\@]+)\@(.+)/){ to this: $address =~ m/^(.+?)\Q${SEPARATOR}\E(.+)=([^\@]+)\@(.+)/){ would fix the problem, but I don't know exactly how VERP works, so consider that a naive guess.
Thanks for the report, Joe. The error was entirely a misunderstanding on my part. I've applied your solution, with a minor change, and added the address type to the tests. Version 0.06 has been uploaded to pause and should soon make its way to a mirror near you. Regards -Gyepi