Hi.
I'm quite a newbie to W2P and this group, so maybe this question/issue has
already been addressed and I wasn't able to find it. My apologies if that's
the case.
While I'm not going to use IMAP support for some time, it's a feature I'm
sure will come handy in the future.
I've been toying around with it and found that I couldn't make it work when
the password had a @ character.
I think there could be a problem in the regular expression that matches the
connection URI used.
Example URI:
imapdb = DAL("imap://user:passw@ord@server:port", pool_size=1) # port 993
for ssl
Parameter extraction:
REGEX_URI =
re.compile('^(?P<user>[^:]+)(\:(?P<password>[^@]*))?@(?P<host>[^\:@]+)(\:(?P<port>[0-9]+))?$')
I couldn't come out with a regular expression capable of matching the URI
to propose it here.
Thanks to all of you for your contribution to make web2py available to all.
Pedro.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.