Merge pull request #927 from xiemaisi/js/ambiguous-id-attr-templates

Approved by esben-semmle
This commit is contained in:
semmle-qlci
2019-02-13 08:35:41 +00:00
committed by GitHub
3 changed files with 34 additions and 12 deletions

View File

@@ -0,0 +1,9 @@
<html>
<head><title></title></head>
<body>
{% if foo %}
<a href="{{url}}" id="unique">foo</a>
{% else %}
<a href="{{url}}" id="unique">!foo</div>
{% endif %}
</body>