What version are you running?
1.6.1
What's the URL of the page containing the problem?
/users/<some user with non US-ASCII characters in full name>/infobox/
What steps will reproduce the problem?
1. Create a user with non US-ASCII characters in either first name or last name or both.
2. Submit a review as this user.
3. Navigate to this review.
4. Mouse over the submitters name to get the pop-up infobox.
What is the expected output? What do you see instead?
Expected output is the infobox with the users details (user name, full name, user email, etc), actual output is a "Something broke (error 500)" error message.
What operating system are you using? What browser?
Reviewboard is served by a Arch Linux VM, via apache. Browser is Chromium (14.0.835.186) and Firefox (6.0.2) on Arch Linux.
Please provide any additional information below.
This would not bother me as much as we do not really use this feature (small in-house review board at work), the annoying thing is that it sends me an e-mail every time someone accidentally mouses over pretty much any of our user names - we're Norwegians, so names tend to contain strange and unusual letters ;)
Exception with backtrace:
Internal Server Error: /users/bjorn/infobox/
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/site-packages/ReviewBoard-1.6.1-py2.7.egg/reviewboard/accounts/decorators.py", line 21, in _check
return view_func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/ReviewBoard-1.6.1-py2.7.egg/reviewboard/reviews/views.py", line 1166, in user_infobox
set_etag(response, etag)
File "/usr/lib/python2.7/site-packages/Djblets-0.6.11-py2.7.egg/djblets/util/http.py", line 68, in set_etag
response['ETag'] = etag
File "/usr/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/http/__init__.py", line 533, in __setitem__
header, value = self._convert_to_ascii(header, value)
File "/usr/lib/python2.7/site-packages/Django-1.3.1-py2.7.egg/django/http/__init__.py", line 522, in _convert_to_ascii
value = value.encode('us-ascii')
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf8' in position 2: ordinal not in range(128), HTTP response headers must be in US-ASCII format