Skip to content

Commit 487b8c5

Browse files
author
Esben Sparre Andreasen
authored
JS: fix <p></p> issue
1 parent bb3e3a5 commit 487b8c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/Security/CWE-020/IncompleteHostnameRegExp.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
<code>example.com</code>, effectively allowing the redirect to go to
5656
an attacker-controlled domain such as <code>wwwXexample.com</code>.
5757

58-
<p>
5958
</p>
59+
<p>
6060

6161
Address this vulnerability by escaping <code>.</code>
6262
appropriately: <code>let regex = /(www|beta|)\.example\.com/</code>.

0 commit comments

Comments
 (0)