Allow/Fix special characters in json replies in WebUI

This commit is contained in:
Nick Tiskov
2013-02-25 16:28:15 +04:00
committed by Christophe Dumez
parent 8b4be9bef6
commit 3705cb8067

View File

@@ -76,9 +76,7 @@ QString json::toJson(const QVariant& v) {
result += "\\t";
break;
case '\"':
case '\'':
case '\\':
case '&':
result += '\\';
case '\0':
default: