ericmckean / pubsubhubbub

Automatically exported from code.google.com/p/pubsubhubbub
Other
0 stars 0 forks source link

Hub cannot verify URLs that are decoded IRIs #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
#
08-09 10:57PM 32.939

Attempting to confirm subscribe for topic = http://www.google.com/reader
/public/atom/user/07256788297315478906/label/ブログ衆, callback = elided,
verify_token = elided, secret = None, lease_seconds = 2592000

#
E 08-09 10:57PM 32.939

'ascii' codec can't encode characters in position 73-76: ordinal not in
range(128)
Traceback (most recent call last):
  File
"/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line
509, in __call__
    handler.post(*groups)
  File
"/base/data/home/apps/pubsubhubbub/injector.335461899033304081/main.py",
line 252, in decorated
    return func(myself, *args, **kwargs)
  File
"/base/data/home/apps/pubsubhubbub/injector.335461899033304081/main.py",
line 1465, in post
    sub.verify_token, sub.secret, sub.lease_seconds):
  File
"/base/data/home/apps/pubsubhubbub/injector.335461899033304081/main.py",
line 2278, in execute
    return designated_hook(*args, **kwargs)
  File
"/base/data/home/apps/pubsubhubbub/injector.335461899033304081/main.py",
line 1327, in confirm_subscription
    parsed_url[4] = urllib.urlencode(params)
  File "/base/python_dist/lib/python2.5/urllib.py", line 1250, in urlencode
    v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode characters in position
73-76: ordinal not in range(128)

Original issue reported on code.google.com by bslatkin on 10 Aug 2009 at 6:00

GoogleCodeExporter commented 9 years ago
Fixed in r204

Original comment by bslatkin on 10 Aug 2009 at 5:01