public static function decodeSecureMagic($data, $sanitizeLevel = self::SANITIZE_HTML) { xapp_import('xapp.Utils.SystemTextEncoding'); return XApp_SystemTextEncoding::fromUTF8(self::sanitizeEx(self::securePath(XApp_SystemTextEncoding::magicDequote($data)), $sanitizeLevel)); }
/** * Successive call of magicDequote and fromUTF8 * @static * @param string $filesystemElement * @return string */ static function fromPostedFileName($filesystemElement) { return XApp_SystemTextEncoding::fromUTF8(XApp_SystemTextEncoding::magicDequote($filesystemElement)); }