Description
Presently Unicode Characters are not possible in names of attachments.
Steps to reproduce
see example
Workaround
Here is a patch for solving this bug. Please review. -- DavidLinke
deleted first patch
- OK. The problem might come from the wiki-Parser. Here is a fix:
* looking for arch@arch.thinkmo.de--2003-archives/moin--main--1.5--patch-282 to compare with
* comparing to arch@arch.thinkmo.de--2003-archives/moin--main--1.5--patch-282
M MoinMoin/parser/wiki.py
* modified files
--- orig/MoinMoin/parser/wiki.py
+++ mod/MoinMoin/parser/wiki.py
@@ -206,7 +206,7 @@
inline = url[0] == 'i'
drawing = url[0] == 'd'
url = url.split(":", 1)[1]
- url = wikiutil.url_unquote(url, want_unicode=False)
+ url = wikiutil.url_unquote(url, want_unicode=True)
text = text or url
from MoinMoin.action import AttachFile
Example
attachment:äöü.txt
Details
This Wiki.
Workaround
Discussion
Plan
- Priority:
Assigned to: ThomasWaldmann
- Status: fixed in moin 1.5 patch-285, thanks for the patch
