= Description = (My fix is below). When using basic authentication on Apache, where the username contains a non-ascii character, e.g. Bjørn :-), MoinMoin bombs out with a UnicodeDecode error. == Steps to reproduce == ## Describe the steps needed to reproduce the bug. If we can't reproduce it, we probably can't fix it. 1. set up basic authentication (in the appropriate directory or location directive in httpd.conf) {{{ AuthType Basic AuthName "mywiki" AuthUserFile /etc/wikiusers Require valid-user}}} 1. create a user with funny chars {{{ /usr/local/apache2/bin/htpasswd -bcs /etc/wikiusers Bjørn password}}} 1. change wikiconfig.py to use this and autocreate users {{{ from MoinMoin import http ... auth = [http] user_autocreate = True}}} == Example == Sorry, no example. == Details == ## If you got a traceback, please save the traceback page as html and attach here: [[attachment:dkwikierr.html]] Date: Wed, 04 Oct 2006 11:46:01 +0000 Platform: Linux www.datakortet.no 2.4.20-31.9smp #1 SMP Tue Apr 13 17:40:10 EDT 2004 i686 Python: Python 2.4.3 (/opt/ActivePython-2.4/bin/python) MoinMoin: Release 1.5.5a (release) ## If a traceback is not available, please fill in the details here: || '''!MoinMoin Version''' || || || '''OS and Version''' || || || '''Python Version''' || || || '''Server Setup''' || || || '''Server Details''' || || || '''Language you are using the wiki in''' (set in the browser/UserPreferences) || || == Workaround == = Discussion = = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: ThomasWaldmann * Status: fixed in 1.5 by: http://hg.thinkmo.de/moin/1.5?cs=e170e64644e7 - please try this fix and report back on success or failure. ---- ## If you are a moin core developer, replace the category to Category* in these cases: ## Category MoinMoinNoBug - if this is not a bug. ## Category MoinMoinBugConfirmed - if you can confirm the bug on current code. ## Category MoinMoinBugFixed - after the bug is fixed in current code. CategoryMoinMoinBugFixed