mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Allow/Fix special characters in json replies in WebUI
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user