Re: [Zope] Problem to log out from CMF Site
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.
On Wednesday, February 19, 2003, at 01:32 PM, Dieter Maurer wrote:
PS: Please stay on the list.
[hee, hee, hee!] ___/ / __/ / ____/ Ed Leafe http://leafe.com/ http://opentech.leafe.com
On Wed, 2003-02-19 at 13:32, Dieter Maurer wrote:
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
How can I check whether my browser sends an invalid format ir not? I'm using Galeon 1.03 on Linux. Can you give me more explanations about: 'basic authentication as only the browser can reset login info'. What does this phrase mean? :) Thanks. -- mico@cbn.net.id --- Ph. 62-22-2505549 ICQ #12521756
On Wed, 2003-02-19 at 13:32, Dieter Maurer wrote:
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
Well, I tried to access CMF using IExplorer and it worked well. So I think the problem was Mozilla/Galeon browser that could not work well with CMF 1.3. -- mico@cbn.net.id --- Ph. 62-22-2505549 ICQ #12521756
participants (3)
-
Dieter Maurer -
Ed Leafe -
Mico Siahaan