Skip to content

Commit

Permalink
fix: XSS vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
BoYanZh committed Oct 22, 2023
1 parent d6ef8cf commit a2678cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vj4/ui/templates/problem_main.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
var Context = {{ {
'getProblemUrlWithCategory': reverse_url('problem_category', category='{category}'),
'getProblemUrlWithoutCategory': reverse_url('problem_main'),
'currentCategory': category,
'currentCategory': category|e,
}|json|safe }};
</script>
<div class="row">
Expand Down

0 comments on commit a2678cc

Please sign in to comment.