Skip Menu |
 

This queue is for tickets about the Net-IMAP-Simple CPAN distribution.

Report information
The Basics
Id: 80088
Status: resolved
Worked: 20 min
Priority: 0/
Queue: Net-IMAP-Simple

People
Owner: jettero [...] cpan.org
Requestors: gooroo175 [...] googlemail.com
Cc:
AdminCc:

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



Subject: Login fails for passwords ending with a blackslash '\'
Download (untitled) / with headers
text/plain 503b
When you Login to IMAP-Accounts that have a password ending on '\' backslash this slash is used to esacpe the quotes in the LOGIN-Command that are usually around the password. This results in an IMAP-Error-Message saying something about "extra parameters". The Problem can be avoided placing two backslashes instead of one \\ and thus escaping the first backslash result in a correct password. Such things should be done by the module and not by the user or the intermediate software using the plugin.
Download (untitled) / with headers
text/plain 617b
I agree, generally speaking. If you ran a fuzzer on this module it would fail completely. I have an escape function that I built for this sort of thing. I'm sure this occurs elsewhere in the package and I'm sure my _escape() hack doesn't catch everything ... But it will fix your problem. This module could use a top-down overhaul, but I wonder if there aren't already other packages that do it better. Anyway, look for 1.2.034 on my website (jettero.pl) or on the CPAN. -Paul -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
Download (untitled) / with headers
text/plain 618b
Thanks a lot for the quick fix. Gonna update right away. Am Mi 10. Okt 2012, 07:23:35, JETTERO schrieb: Show quoted text
> I agree, generally speaking. If you ran a fuzzer on this module it > would fail completely. > > I have an escape function that I built for this sort of thing. I'm sure > this occurs elsewhere in the package and I'm sure my _escape() hack > doesn't catch everything ... But it will fix your problem. This module > could use a top-down overhaul, but I wonder if there aren't already > other packages that do it better. > > Anyway, look for 1.2.034 on my website (jettero.pl) or on the CPAN. > > -Paul >
Download (untitled) / with headers
text/plain 179b
Replying reopens the ticket. re-closing. :p -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.