xif-fr / dokuwiki-plugin-catlist

DokuWiki plugin to list pages and namespaces recursively in nested lists
https://www.dokuwiki.org/plugin:catlist
8 stars 15 forks source link

Fix add button encoding #10

Closed shioyadan closed 5 years ago

shioyadan commented 6 years ago

I fixed two bugs related to the add-button.

shioyadan commented 6 years ago

I am not familiar with the internal structure of dokuwiki, but I think that "encodeURI()" is needed in this case. Since non-ascii characters cannot be used as an URL, non-ascii characters must always be URL-encoded, regardless of "fnencode". It seems that "fnencode" is used when an URL-decoded path (utf-8) is re-encoded into a file name.