Details
Description
I use QWebEngineView to load a simple webpage:
view = new QWebEngineView(this);
view->load(QUrl("file:///index1.html"));
The web page (index1.html)is:
<!doctype html>
<html>
<meta charset="utf-8">
<head>
</head>
<body>
<script>
var par={var1:"123","var2":456};
alert(JSON.stringify(par));
</script>
</body>
</html>
Note that all the quote marks in the object are encoded as html entities, which is not correct.
Attachments
For Gerrit Dashboard: QTBUG-66104 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
220988,2 | Don't percent-encode javascript messages | 5.11 | qt/qtwebengine | Status: MERGED | +2 | 0 |