unicode error in contribution redirect

VERIFIED FIXED

Status

addons.mozilla.org Graveyard
Public Pages
VERIFIED FIXED
8 years ago
2 years ago

People

(Reporter: jbalogh, Assigned: jbalogh)

Tracking

Details

(Whiteboard: [z], URL)

(Assignee)

Description

8 years ago
Traceback (most recent call last):

 File "/data/amo_python/www/prod/zamboni/vendor/src/django/django/core/handlers/base.py", line 100, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/data/amo_python/www/prod/zamboni/apps/addons/views.py", line 451, in contribute
   + urllib.urlencode(redirect_url_params))

 File "/usr/lib/python2.6/urllib.py", line 1265, in urlencode
   v = quote_plus(str(v))

UnicodeEncodeError: 'ascii' codec can't encode character u'\xb4' in position 51: ordinal not in range(128)


<WSGIRequest
GET:<QueryDict: {u'comment': [u'I hope I will manage to download everything since i\xb4m not that familiar with my Mac. '], u'source': [u'addon-detail'], u'onetime-amount': [u'10'], u'type': [u'onetime'], u'monthly-amount': [u'']}>,
(Assignee)

Comment 2

8 years ago
http://github.com/jbalogh/zamboni/commit/dd870e6
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Verified FIXED.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.