[Zope] Problem to log out from CMF Site

Dieter Maurer dieter@handshake.de
Wed, 19 Feb 2003 19:32:26 +0100


Mico Siahaan wrote at 2003-2-19 04:31 -0500:
 > ....
 > Btw, here I the complete error message. Can you figure out something? I
 > still have this problem when I tried to logged out from my CMF site. 
 > 
 > --
 > Exception traceback
 > ...
 > Exception Value
 > Invalid authentication token
 > 
 > Traceback (innermost last):
 > 
 >  Module ZPublisher.Publish, line 89, in publish
 >  Module ZPublisher.BaseRequest, line 409, in traverse
 >  Module AccessControl.User, line 627, in validate
 >  Module AccessControl.User, line 567, in identifyBad Request: Invalid authentication token

The code there looks like:

        if auth and auth.lower().startswith('basic '):
            try: name, password=tuple(decodestring(
                                      auth.split(' ')[-1]).split(':', 1))
            except:
                raise 'Bad Request', 'Invalid authentication token'
            return name, password

Thus, the browser sends "basic" authentication information
with an invalid format.
Check your browser.

BTW, you will not be able to log out of the CMF when you
use basic authentication as only the browser can reset
the corresponding login info.


Dieter


PS: Please stay on the list.