Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CookieError: Illegal key value #1

Open
GoogleCodeExporter opened this issue Jun 12, 2015 · 0 comments
Open

CookieError: Illegal key value #1

GoogleCodeExporter opened this issue Jun 12, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. CookieError: Illegal key value


What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 714, in __call__
    handler.get(*groups)
  File "/base/data/home/apps/s~xxxxxshot/1.363881572167923652/main.py", line 146, in get
    result = opener.open("http://www.xxxxxx.com/home.php").content
  File "/base/data/home/apps/s~xxxxshot/1.363881572167923652/main.py", line 32, in open
    self.cookie.load(response.headers.get('set-cookie', '')) # Load the cookies from the response
  File "/base/python_runtime/python_dist/lib/python2.5/Cookie.py", line 619, in load
    self.__ParseString(rawdata)
  File "/base/python_runtime/python_dist/lib/python2.5/Cookie.py", line 650, in __ParseString
    self.__set(K, rval, cval)
  File "/base/python_runtime/python_dist/lib/python2.5/Cookie.py", line 572, in __set
    M.set(key, real_value, coded_value)
  File "/base/python_runtime/python_dist/lib/python2.5/Cookie.py", line 451, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: funkygeek@3323#%$%%^$%


What version of the product are you using? On what operating system?
Python 2.5

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Dec 2012 at 9:44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant