Browse Source

Merge pull request #456 from Gelmir/fix_webui_ap

Allow/Fix special characters in json replies in WebUI
adaptive-webui-19844
Christophe Dumez 12 years ago
parent
commit
e5f0edaa0a
  1. 2
      src/webui/json.cpp

2
src/webui/json.cpp

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

Loading…
Cancel
Save