Skip to content
Snippets Groups Projects
Commit a32dac2e authored by Chris Sangwin's avatar Chris Sangwin
Browse files

Fix typo.

parent 55ca4d58
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ if (isset($_GET['question'])) { ...@@ -27,7 +27,7 @@ if (isset($_GET['question'])) {
$is_question = false; $is_question = false;
} }
if (str_pos($scriptname, '..') !== false if (strpos($scriptname, '..') !== false
|| strpos($scriptname, '/') !== false || strpos($scriptname, '/') !== false
|| strpos($scriptname, '\\') !== false) { || strpos($scriptname, '\\') !== false) {
die("No such script here."); die("No such script here.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment