Problem with encoding URLS
[email protected] Mon, 30 Nov 2015 15:33:49 +0100
| Newsgroups | gmane.comp.web.wiki.moin.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have just moved my wiki to another server. Unfortunately, URLs with
special characters (for example german Umlauts) don't work anymore.
I have a page with the Name "T=F6st". It contains the german Umlaut "=F6".
The encoded url looks like "https://mywiki.com/T%C3%B6st"
When trying to access this page the apache log tells me:
-----/-----
mod_wsgi (pid=3D31988): Exception occurred processing WSGI script
'/home/user/www/moin/moin.wsgi'.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 567, in
__call__
cleaned_path =3D cleaned_path.encode(sys.getfilesystemencoding())
UnicodeEncodeError: 'ascii' codec can't encode character u'\\xf6' in
position 2: ordinal not in range(128)
-----/-----
What is going on here? Do I have a misconfiguration in moinmoin? Why is it
trying to encode it in ASCII?
Any help is appreciated.
Marco
---------------------------------------------------------------------------=
---
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OS=
s.
http://pubads.g.doubleclick.net/gampad/clk?id=3D254741551&iu=3D/4140