Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12133 - Unicode queries in /packages/ cause error

Attached to Project: Arch Linux
Opened by Dusty Phillips (Dusty) - Saturday, 15 November 2008, 16:01 GMT
Last edited by Dusty Phillips (Dusty) - Sunday, 30 November 2008, 01:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dusty Phillips (Dusty)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Its a bug in how I pass the parameters to urlencode. I just haven't had time to find a fix yet.

Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 86, in get_response
response = callback(request, *callback_args, **callback_kwargs)

File "/home/sites/archlinux/archweb_pub/packages/views.py", line 66, in search
current_query += urllib.urlencode(request.GET)

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

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)
This task depends upon

Closed by  Dusty Phillips (Dusty)
Sunday, 30 November 2008, 01:59 GMT
Reason for closing:  Fixed

Loading...