mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
JS: fix <p></p> issue
This commit is contained in:
committed by
GitHub
parent
bb3e3a541d
commit
487b8c52c6
@@ -55,8 +55,8 @@
|
||||
<code>example.com</code>, effectively allowing the redirect to go to
|
||||
an attacker-controlled domain such as <code>wwwXexample.com</code>.
|
||||
|
||||
<p>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
Address this vulnerability by escaping <code>.</code>
|
||||
appropriately: <code>let regex = /(www|beta|)\.example\.com/</code>.
|
||||
|
||||
Reference in New Issue
Block a user