id summary reporter owner description type status priority component severity resolution keywords cc release 10777 TypeError: Incorrect padding after enabling the plugin Rafael txcraig "Activating the plugin, causes the following traceback, even if I just want to access the root of the Trac installation (e.g. /trac and not /trac/login/xmlrpc). {{{ Traceback (most recent call last): File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/api.py"", line 502, in send_error data, 'text/html') File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/chrome.py"", line 955, in render_template message = req.session.pop('chrome.%s.%d' % (type_, i)) File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/api.py"", line 304, in __getattr__ value = self.callbacks[name](self) File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/main.py"", line 268, in _get_session return Session(self.env, req) File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/session.py"", line 200, in __init__ if req.authname == 'anonymous': File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/api.py"", line 304, in __getattr__ value = self.callbacks[name](self) File ""/usr/local/lib/python2.6/dist-packages/Trac-1.0-py2.6.egg/trac/web/main.py"", line 135, in authenticate authname = authenticator.authenticate(req) File ""build/bdist.linux-x86_64/egg/httpauth/filter.py"", line 65, in authenticate user = self._check_password(req) File ""build/bdist.linux-x86_64/egg/httpauth/filter.py"", line 76, in _check_password user, passwd = b64decode(token).split(':', 1) File ""/usr/lib/python2.6/base64.py"", line 76, in b64decode raise TypeError(msg) TypeError: Incorrect padding }}} Shouldn’t the plugin just ignore folders that don’t match the path and return a proper HTTP error code on missing auth parameters instead of raising an exception?" defect assigned normal HttpAuthPlugin critical Jan Beilicke 1.0