splitbrain / dokuwiki-plugin-dw2pdf

A fork of Luigi Micco's PDF export plugin for DokuWiki
http://www.dokuwiki.org/plugin:dw2pdf
55 stars 68 forks source link

Error Permanent link, when url contains chinese #383

Open liuzhaowei55 opened 4 years ago

liuzhaowei55 commented 4 years ago

e.g: I got this:

Permanent link:
http://anydong.localhost/doku.php?id=%E7%99%BE%E5%BA%A6%E7%BD%91%E7%9B%98

the url text redirect to :

http://anydong.localhost/doku.php?id=%25E7%2599%25BE%25E5%25BA%25A6%25E7%25BD%2591%25E7%259B%2598

In fact, this is the right one:

http://anydong.localhost/doku.php?id=%E7%99%BE%E5%BA%A6%E7%BD%91%E7%9B%98

This looks like the uri is encodeURI twice. this is the source url text:

http://anydong.localhost/doku.php?id=百度网盘
Klap-in commented 1 year ago

Where should I use this link to reproduce your situation? Are the most recent versions of DokuWiki and dw2pdf still affected?