Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
@@ -103,7 +103,7 @@ class Request extends \IPSUtf8\Patterns\Singleton
|
||||
{
|
||||
foreach( $data as $k => $v )
|
||||
{
|
||||
if ( is_array( $v ) )
|
||||
if ( \is_array( $v ) )
|
||||
{
|
||||
array_walk_recursive( $v, array( $this, 'clean' ) );
|
||||
}
|
||||
@@ -127,12 +127,6 @@ class Request extends \IPSUtf8\Patterns\Singleton
|
||||
{
|
||||
/* Remove NULL bytes and the RTL control byte */
|
||||
$v = str_replace( array( "\0", "\u202E" ), '', $v );
|
||||
|
||||
/* Undo magic quote madness */
|
||||
if ( get_magic_quotes_gpc() === 1 )
|
||||
{
|
||||
$v = stripslashes( $v );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user