Well, I found the person with the bad cookies.  The offending cookie is
has two equal signs in it!  Is that legal??
"WWWLYCOS=SATISFACTIONSURVEY=N;"

Does anyone have a suggestion of how we can handle this exception
gracefully or improve the parser?


I printed out the offending cookie and the exception below.

lubid=010000508BD3046104E43BAA159C000AC84600000000;
WWWLYCOS=SATISFACTIONSURVEY=N; _SID_=2001092017242334450; countyno=127;
state=FL; city=Barberville

Traceback (most recent call last):
  File "/usr/Webware/Webware/WebKit/HTTPRequest.py", line 47, in
__init__
    self._cookies.load(self._environ['HTTP_COOKIE'])
  File "WebUtils/Cookie.py", line 605, in load
    for K,V in self.items():
  File "WebUtils/Cookie.py", line 625, in __ParseString
    n = len(str)     # Length of string
IndexError: string index out of range

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to