Skip to content

Commit

Permalink
[http] fix traceback page xss
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Jun 8, 2014
1 parent 19b741e commit d3fc5eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ajenti/routing.py
@@ -1,3 +1,4 @@
import cgi
import socketio
import traceback

Expand Down Expand Up @@ -90,4 +91,4 @@ def respond_error(self, context, exception):
</pre>
</body>
</html>
""" % stack
""" % cgi.escape(stack)

0 comments on commit d3fc5eb

Please sign in to comment.