Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
8.2.1
-
None
-
CentOS 7
-
Unknown
-
Description
Uploading attachments which name consists of special characters such as é leads to encoding issue.
For an example giving a file with a name tést.pdf:
{{html}}
<form method="post" action="/xwiki/rest/wikis/xwiki/spaces/XWiki/pages/WebHome/attachments" enctype="multipart/form-data">
<div>
<input type="file" name="a"/>
<input type="submit" />
</div>
</form>
{{/html}}
Results in a file named: TeÌst
Similar issue (not REST): http://jira.xwiki.org/browse/XWIKI-6573