We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebbeef9 commit 2180b7cCopy full SHA for 2180b7c
internal/message_server.py
@@ -72,9 +72,9 @@ def get(self):
72
response += "</style>\n"
73
response += "</head><body><div id='wptorange'></div>\n"
74
if MESSAGE_SERVER.config is not None:
75
- import cgi
+ import html
76
response += '<div id="wptagentConfig" style="display: none;">'
77
- response += cgi.escape(json.dumps(MESSAGE_SERVER.config))
+ response += html.escape(json.dumps(MESSAGE_SERVER.config))
78
response += '</div>'
79
response += "</body></html>"
80
elif self.request.uri == '/wpt-start-recording':
0 commit comments