1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Add better example

This commit is contained in:
Matthew Brown 2021-06-10 18:32:38 -04:00 committed by GitHub
parent 884043b47b
commit bfd2ab07de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,8 @@ Wheter this is exploitable or not depends on a few conditions:
```php
<?php
$param = strip_tags($_GET['param']);
// converts tags, but not quotes
$param = htmlentities($_GET['param']);
?>
<script>