Skip to content

Commit

Permalink
Fix XSS when handling query
Browse files Browse the repository at this point in the history
Fixes #63
  • Loading branch information
Baptiste Jonglez authored and zorun committed May 10, 2021
1 parent 96249a3 commit ef6b32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/layout.html
Expand Up @@ -120,7 +120,7 @@ <h3>Modal header</h3>
<script type="text/javascript" src="{{url_for('static', filename='js/DT_bootstrap.js') }}"></script>
<script type="text/javascript">
request_type = "{{session.request_type}}";
request_args = "{{session.request_args|safe}}";
request_args = "{{session.request_args}}";
hosts = "{{session.hosts}}";
proto = "{{session.proto}}";
history_query = {{session.history|tojson|safe}};
Expand Down

0 comments on commit ef6b32c

Please sign in to comment.