* Matt S Trout via RT (bug-Mail-Box@rt.cpan.org) [081229 16:59]:
Show quoted text> Queue: Mail-Box
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=41976 >
>
> On Fri, Dec 26, 2008 at 05:47:08PM -0500, Mark Overmeer via RT wrote:
> > <URL:
http://rt.cpan.org/Ticket/Display.html?id=41976 >
> >
> > * Matt S Trout via RT (bug-Mail-Box@rt.cpan.org) [081226 20:09]:
> > > Fri Dec 26 15:09:19 2008: Request 41976 was acted upon.
> > > Transaction: Ticket created by mst@shadowcat.co.uk
> > > Queue: Mail-Box
> > > Subject: Don't seem to be able to use @ in username in URLs?
> > >
> > >
> > > The regexp that unpacks URL type $manager->open arguments seems to not
> > > accept an @ sign, even blackslashed, so I can't use it on mailboxes where
> > > the user is the same as the email address.
> >
> > Hi Matt,
> >
> > Mail::Box::Manager::decodeFolderURL() is quite HTTP protocol
> > oriented. Could you be more specific on the exact URL you
> > would like to use?
>
> username: mst@shadowcat.co.uk
> password: ...
> hostname: imap.shadowcat.co.uk
>
> not sure how I can encode that.
Ah, and the URI syntax is schema://username:password@host:port/...
So there is a confusion in '@' signs. I will add escaping with
backslashes for :@/\ It is even worse, currently the username
is detected as [^:@./]*
I expect that you can use username, password, server_name,
and server_port as seperate parameters as temporary work-around.
--
MarkOv
------------------------------------------------------------------------
Mark Overmeer MSc MARKOV Solutions
Mark@Overmeer.net solutions@overmeer.net
http://Mark.Overmeer.net http://solutions.overmeer.net