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:
parent
884043b47b
commit
bfd2ab07de
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user