Skip to content

Commit

Permalink
fix: 0008808: TestLink v1.9.19.1 - Bypass security fix for XSS at ind…
Browse files Browse the repository at this point in the history
…ex.php
  • Loading branch information
fmancardi committed Dec 31, 2019
1 parent e2bebf6 commit cde6928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function initEnv() {

// some sanity checks
// strpos ( string $haystack , mixed $needle
if (strpos($args->reqURI,'javascript') !== false) {
if (stripos($args->reqURI,'javascript') !== false) {
$args->reqURI = null;
}
}
Expand Down

0 comments on commit cde6928

Please sign in to comment.