JS: fix <p></p> issue

This commit is contained in:
Esben Sparre Andreasen
2018-12-14 13:04:10 +01:00
committed by GitHub
parent bb3e3a541d
commit 487b8c52c6

View File

@@ -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>.