Skip to content

Commit

Permalink
Fix stored XSS security issue: remove inline JS from URL in PreparePH…
Browse files Browse the repository at this point in the history
…P_SELF.fnc.php
  • Loading branch information
francoisjacquet committed Jun 4, 2022
1 parent 25eb319 commit 6b22c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/PreparePHP_SELF.fnc.php
Expand Up @@ -200,7 +200,7 @@ function( $match ) {

foreach ( $remove as $remove_string )
{
while ( strpos( $string, $remove_string ) !== false )
while ( stripos( $string, $remove_string ) !== false )
{
$string = str_ireplace( $remove, '', $string );
}
Expand Down

0 comments on commit 6b22c0b

Please sign in to comment.