dokuwiki-plugin-dw2pdf icon indicating copy to clipboard operation
dokuwiki-plugin-dw2pdf copied to clipboard

Error Permanent link, when url contains chinese

Open liuzhaowei55 opened this issue 5 years ago • 1 comments

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=百度网盘

liuzhaowei55 avatar Oct 29 '19 06:10 liuzhaowei55

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

Klap-in avatar Oct 12 '22 18:10 Klap-in