openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24527
[Bug 1093277] Re: OpenERPAuthProvider does not allow passwords with ":" for basic auth
Indeed, this bug is from my code in 2009. It is in
server/bin/service/websrv_lib.py library. Thanks for the remark, it is
now fixed for the "pg84-next" and F3 series.
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1093277
Title:
OpenERPAuthProvider does not allow passwords with ":" for basic auth
Status in OpenERP Addons (modules):
Incomplete
Bug description:
The OpenERPAuthProvider class does not accept a password if it contains a ":". The problem is that username and password in HTTP basic auth are sent as one string, separated by ":".
If there is now more than one ":" in the string, splitting it fails. This can be fixed by changing the call split(":") to split(":", 1) in checkRequest().
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1093277/+subscriptions
References