mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
Allow/Fix special characters in json replies in WebUI
This commit is contained in:
parent
da3406b811
commit
dc4d0a7078
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue