protected static function decodeEntity($match)
    {
        // Protect GET variables in URLs
        // 901119URL5918AMP18930PROTECT8198
        $match = preg_replace('|\&([a-z\_0-9\-]+)\=([a-z\_0-9\-/]+)|i', self::token . '\\1=\\2', $match[ 0 ]);

        $charset = 'UTF-8';
        if (function_exists('config')) {
            $charset = config()->getItem('charset');
        }

        // Decode, then un-protect URL GET vars
        return str_replace(
            self::token,
            '&',
            self::entityDecode($match, $charset)
        );
    }
protected static function decodeEntity($match)
    {
        // Protect GET variables in URLs
        // 901119URL5918AMP18930PROTECT8198
        $match = preg_replace('|\&([a-z\_0-9\-]+)\=([a-z\_0-9\-/]+)|i', self::token . '\\1=\\2', $match[ 0 ]);

        $charset = 'UTF-8';
        if (function_exists('config')) {
            $charset = config()->getItem('charset');
        }

        // Decode, then un-protect URL GET vars
        return str_replace(
            self::token,
            '&',
            self::entityDecode($match, $charset)
        );
    }
protected static function decodeEntity ( $ match ) { // Protect GET variables in URLs
 // 901119URL5918AMP18930PROTECT8198
 $ match = preg_replace ( '|\&([a-z\_0-9\-]+)\=([a-z\_0-9\-/]+)|i' , self :: token . '\\1=\\2' , $ match [ 0 ] ) ; $ charset = 'UTF-8' ; if ( function_exists ( 'config' ) ) { $ charset = config ( ) -> getItem ( 'charset' ) ; } // Decode, then un-protect URL GET vars
 return str_replace ( self :: token , '&' , self :: entityDecode ( $ match , $ charset ) ) ; }
HTML Entity Decode Callback

@used-by    XSS::clean()

@param    array $match

@return    string
HTML Entity Decode Callback