Danish special characters makes logging in difficult
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moin OpenID module |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If you log out of the wiki and then navigate to a wiki page containing some of the Danish special characters and then try to log in again, you get an error message. The error is below, but the error should be reproducible.
Try for your self at:
https:/
--> --> -->
UnicodeEncodeError
'ascii' codec can't encode character u'\xf8' in position 45: ordinal not in range(128)
If you want to report a bug, please save this page and attach it to your bug report.
* Show debugging information
* Report bug
* Visit MoinMoin wiki
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
1.
/
1. 26 self.fcgform = form
2. 27 self._setup_
3. 28 RequestBase.
4. 29
5. 30 except Exception, err:
* global RequestBase = <class 'MoinMoin.
* RequestBase.
* self = <MoinMoin.
* properties = {}
2.
/
1. 205 # set self.user even if _handle_auth_form raises an Exception
2. 206 self.user = None
3. 207 self.user = self._handle_
4. 208 del user_obj
5. 209 self.cfg.
* self = <MoinMoin.
* self.user = None
* self._handle_
* user_obj = None
3.
/
1. 610 return self.handle_
2. 611 password=password, login=login, logout=logout,
3. 612 stage=stage, openid_
4. 613
5. 614 def handle_auth(self, user_obj, attended=False, **kw):
* stage = u'openid'
* openid_identifier undefined
* oid = None
4.
/
1. 658 url = url.replace(
2. 659 self._auth_
3. 660 self.http_
4. 661 return user_obj
5. 662 msg = ret.message
* self = <MoinMoin.
* self.http_redirect = <bound method Request.
* url = u'/DanishTeam/
5.
/
1. 1289 """
2. 1290 url = self.getQualifi
3. 1291 self.emit_
4. 1292
5. 1293 def emit_http_
* self = <MoinMoin.
* self.emit_
* url = u'http://
6.
/
1. 1324 for header, trace in all_headers:
2. 1325 if isinstance(header, unicode):
3. 1326 header = header.
4. 1327 key, value = header.split(':', 1)
5. 1328 lkey = key.lower()
* header = u'Location: http://
* header.encode = <built-in method encode of unicode object at 0x2446e40>
UnicodeEncodeError
'ascii' codec can't encode character u'\xf8' in position 45: ordinal not in range(128)
* args = ('ascii', u'Location: http://
* encoding = 'ascii'
* end = 46
* message = ''
* object = u'Location: http://
* reason = 'ordinal not in range(128)'
* start = 45
System Details
* Date: Sun, 18 Oct 2009 20:49:25 +0000
* Platform: Linux titanium 2.6.24-24-server #1 SMP Tue Aug 18 16:51:43 UTC 2009 x86_64
* Python: Python 2.5.2 (/usr/bin/python)
* MoinMoin: Release 1.6.3 (release)
affects: | ubuntu-website → moin-openid |
Changed in moin-openid: | |
assignee: | Canonical Launchpad Engineering (launchpad) → nobody |
Confirmed. It's a major nuisance to have to navigate back to the front page of the wiki (or something else) to log in. Can has fix?