Browse Source

Allow/Fix special characters in json replies in WebUI

adaptive-webui-19844
Nick Tiskov 12 years ago
parent
commit
dc4d0a7078
  1. 2
      src/webui/json.cpp

2
src/webui/json.cpp

@ -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…
Cancel
Save