Merge branch 'mitigation' into 'main'
Mitigation See merge request daniel/sbd-xss!1
This commit is contained in:
commit
b84e78cb84
@ -14,7 +14,7 @@ if (isset($_GET["name"]))
|
|||||||
{
|
{
|
||||||
$name = $_GET["name"];
|
$name = $_GET["name"];
|
||||||
?>
|
?>
|
||||||
<div>Hey <?= $name ?>, how are you doing?</div>
|
<div>Hey <?= htmlspecialchars($name) ?>, how are you doing?</div>
|
||||||
<div>Enjoy this picture:</div>
|
<div>Enjoy this picture:</div>
|
||||||
<div><img src="//unsplash.it/256"></div>
|
<div><img src="//unsplash.it/256"></div>
|
||||||
<hr>
|
<hr>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user