includes/RequestManager.php
/**
     * remove slashes from all http input containers to avoid injection and attacks
     */
remove slashes from all http input containers to avoid injection and attacks
remove slashes from all http input containers to avoid injection and attacks
public static function normalizeRequest() {
        if(isset($_GET))
            $_GET = Utils::stripSlashes($_GET);
        if(isset($_POST))
            $_POST = Utils::stripSlashes($_POST);
        if(isset($_COOKIE))
            $_COOKIE = Utils::stripSlashes($_COOKIE);
        if(isset($_REQUEST))
            $_REQUEST = Utils::stripSlashes($_REQUEST);
    }
public static function normalizeRequest ( ) { if ( isset ( $ _GET ) ) $ _GET = Utils :: stripSlashes ( $ _GET ) ; if ( isset ( $ _POST ) ) $ _POST = Utils :: stripSlashes ( $ _POST ) ; if ( isset ( $ _COOKIE ) ) $ _COOKIE = Utils :: stripSlashes ( $ _COOKIE ) ; if ( isset ( $ _REQUEST ) ) $ _REQUEST = Utils :: stripSlashes ( $ _REQUEST ) ; }
remove slashes from all http input containers to avoid injection and attacks
remove slashes from all http input containers to avoid injection and attacks