Skip to content

Commit

Permalink
added id parameter validation
Browse files Browse the repository at this point in the history
  • Loading branch information
zume2020 authored Aug 26, 2019
1 parent a4229bd commit f7b56c8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions task.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

// }

$id = $_GET['id'];
$id = htmlentities($_GET['id']);

?>
<!DOCTYPE html>
Expand Down Expand Up @@ -222,10 +222,5 @@ function(data) {
});

</script>





</body>
</html>

0 comments on commit f7b56c8

Please sign in to comment.