1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Merge pull request #10838 from Piccirello/webui-rename-char-encoding

Fix WebUI encoding of special characters
This commit is contained in:
Mike Tzou 2019-06-22 11:23:44 +08:00 committed by GitHub
commit 5e76f7d699
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@
var name = new URI().getData('name');
// set text field to current value
if (name)
$('rename').value = escapeHtml(decodeURIComponent(name));
$('rename').value = decodeURIComponent(name);
$('rename').focus();
$('renameButton').addEvent('click', function(e) {