mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-25 14:04:23 +00:00
Merge pull request #456 from Gelmir/fix_webui_ap
Allow/Fix special characters in json replies in WebUI
This commit is contained in:
commit
e5f0edaa0a
@ -76,9 +76,7 @@ QString json::toJson(const QVariant& v) {
|
|||||||
result += "\\t";
|
result += "\\t";
|
||||||
break;
|
break;
|
||||||
case '\"':
|
case '\"':
|
||||||
case '\'':
|
|
||||||
case '\\':
|
case '\\':
|
||||||
case '&':
|
|
||||||
result += '\\';
|
result += '\\';
|
||||||
case '\0':
|
case '\0':
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user