Commit 52c0fa98 authored by Yusei Tahara's avatar Yusei Tahara

no need to strip.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23336 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e1e69b8e
......@@ -258,8 +258,7 @@ class WizardTool(BaseTool):
user_and_password = self._getSubsribedUserAndPassword()
if (len(user_and_password)==2 and
user_and_password[0] and user_and_password[1]):
auth = 'Basic %s' % base64.standard_b64encode(
'%s:%s' % user_and_password).strip()
auth = 'Basic %s' % base64.standard_b64encode('%s:%s' % user_and_password)
header_dict['Authorization'] = auth
if content_type:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment