rl" rel="ugc external nofollow">men anal toys 17. Mai 2024 / Reply

You’ll Be Unable To Guess Men Anal Toys’s Benefits men anal toys

  • ivey-williford.mdwrite.net 17. Mai 2024 / Reply

    10 Facts About Upvc Windows And Doors That Make You Feel Instantly A Good Mood upvc
    window repair (ivey-williford.mdwrite.net)

  • Elinor odeSpecialChars($varValue); } if (!\defined('TL_MODE') || TL_MODE != 'BE') { $varValue = static::encodeInsertTags($varValue); } static::$arrCache[$strCacheKey][$strKey] = $varValue; } return static::$arrCache[$strCacheKey][$strKey]; } /** * Return a raw, unsafe $_POST variable * * @param string $strKey The variable name * * @return mixed The raw variable value */ public static function postRaw($strKey) { $strCacheKey = 'postRaw'; if (!isset(static::$arrCache[$strCacheKey][$strKey])) { $varValue = static::findPost($strKey); if ($varValue === null) { return null; } $varValue = static::preserveBasicEntities($varValue); $varValue = static::xssClean($varValue); if (!\defined('TL_MODE') || TL_MODE != 'BE') { $varValue = static::encodeInsertTags($varValue); } static::$arrCache[$strCacheKey][$strKey] = $varValue; } return static::$arrCache[$strCacheKey][$strKey]; } /** * Return a raw, unsafe and unfiltered $_POST variable * * @param string $strKey The variable name * * @return mixed The raw variable value */ public static function postUnsafeRaw($strKey) { $strCacheKey = 'postUnsafeRaw'; if (!isset(static::$arrCache[$strCacheKey][$strKey])) { $varValue = static::findPost($strKey); if ($varValue === null) { return null; } static::$arrCache[$strCacheKey][$strKey] = $varValue; } return static::$arrCache[$strCacheKey][$strKey]; } /** * Return a $_COOKIE variable * * @param string $strKey The variable name * @param boolean $blnDecodeEntities If true, all entities will be decoded * * @return mixed The cleaned variable value */ public static function cookie($strKey, $blnDecodeEntities=false) { if (!isset($_COOKIE[$strKey])) { return null; } $strCacheKey = $blnDecodeEntities ? 'cookieDecoded' : 'cookieEncoded'; if (!isset(static::$arrCache[$strCacheKey][$strKey])) { $varValue = $_COOKIE[$strKey]; $varValue = static::decodeEntities($varValue); $varValue = static::xssClean($varValue, true); $varValue = static::stripTags($varValue); if (!$blnDecodeEntities) { $varValue = static::encodeSpecialChars($varValue); } $varValue = static::encodeInsertTags($varValue); static::$arrCache[$strCacheKey][$strKey] = $varValue; } return static::$arrCache[$strCacheKey][$strKey]; } /** * Set a $_GET variable * * @param string $strKey The variable name * @param mixed $varValue The variable value * @param boolean $blnAddUnused If true, the value usage will be checked */ public static function setGet($strKey, $varValue, $blnAddUnused=false) { // Convert special characters (see #7829) $strKey = str_replace(array(' ', '.', '['), '_', $strKey); $strKey = static::cleanKey($strKey); unset(static::$arrCache['getEncoded'][$strKey], static::$arrCache['getDecoded'][$strKey]); if ($varValue === null) { unset($_GET[$strKey]); } else { $_GET[$strKey] = $varValue; if ($blnAddUnused) { static::setUnusedGet($strKey, $varValue); // see #4277 } } } /** * Set a $_POST variable * * @param string $strKey The variable name * @param mixed $varValue The variable value */ public static function setPost($strKey, $varValue) { $strKey = static::cleanKey($strKey); unset( static::$arrCache['postEncoded'][$strKey], static::$arrCache['postDecoded'][$strKey], static::$arrCache['postHtmlEncoded'][$strKey], static::$arrCache['postHtmlDecoded'][$strKey], static::$arrCache['postRaw'][$strKey], static::$arrCache['postUnsafeRaw'][$strKey] ); if ($varValue === null) { unset($_POST[$strKey]); } else { $_POST[$strKey] = $varValue; } } /** * Set a $_COOKIE variable * * @param string $strKey The variable name * @param mixed $varValue The variable value */ public static function setCookie($strKey, $varValue) { $strKey = static::cleanKey($strKey); unset(static::$arrCache['cookieEncoded'][$strKey], static::$arrCache['cookieDecoded'][$strKey]); if ($varValue === null) { unset($_COOKIE[$strKey]); } else { $_COOKIE[$strKey] = $varValue; } } /** * Reset the internal cache */ public static function resetCache() { static::$arrCache = array(); } /** * Return whether there are unused GET parameters * * @return boolean True if there are unused GET parameters */ public static function hasUnusedGet() { return \count(static::$arrUnusedGet) > 0; } /** * Return the unused GET parameters as array * * @return array The unused GET parameter array */ public static function getUnusedGet() { return array_keys(static::$arrUnusedGet); } /** * Set an unused GET parameter * * @param string $strKey The array key * @param mixed $varValue The array value */ public static function setUnusedGet($strKey, $varValue) { static::$arrUnusedGet[$strKey] = $varValue; } /** * Reset the unused GET parameters */ public static function resetUnusedGet() { static::$arrUnusedGet = array(); } /** * Sanitize the variable names (thanks to Andreas Schempp) * * @param mixed $varValue A variable name or an array of variable names * * @return mixed The clean name or array of names */ public static function cleanKey($varValue) { // Recursively clean arrays if (\is_array($varValue)) { $return = array(); foreach ($varValue as $k=>$v) { $k = static::cleanKey($k); if (\is_array($v)) { $v = static::cleanKey($v); } $return[$k] = $v; } return $return; } $varValue = static::decodeEntities($varValue); $varValue = static::xssClean($varValue, true); $varValue = static::stripTags($varValue); return $varValue; } /** * Strip slashes * * @param mixed $varValue A string or array * * @return mixed The string or array without slashes * * @deprecated Deprecated since Contao 3.5, to be removed in Contao 5. * Since get_magic_quotes_gpc() always returns false in PHP 5.4+, the method was never actually executed. */ public static function stripSlashes($varValue) { return $varValue; } /** * Strip HTML and PHP tags preserving HTML comments * * @param mixed $varValue A string or array * @param string $strAllowedTags A string of tags to preserve * @param string $strAllowedAttributes A serialized string of attributes to preserve * * @return mixed The cleaned string or array */ public static function stripTags($varValue, $strAllowedTags='', $strAllowedAttributes='') { if ($strAllowedTags !== '' && \func_num_args() < 3) { trigger_deprecation('contao/core-bundle', '4.4', 'Using %s() with $strAllowedTags but without $strAllowedAttributes has been deprecated and will no longer work in Contao 5.0.', __METHOD__); $strAllowedAttributes = Config::get('allowedAttributes'); } if (!$varValue) { return $varValue; } // Recursively clean arrays if (\is_array($varValue)) { foreach ($varValue as $k=>$v) { $varValue[$k] = static::stripTags($v, $strAllowedTags, $strAllowedAttributes); } return $varValue; } $arrAllowedAttributes = array(); foreach (StringUtil::deserialize($strAllowedAttributes, true) as $arrRow) { if (!empty($arrRow['key']) && !empty($arrRow['value'])) { $arrAllowedAttributes[trim($arrRow['key'])] = StringUtil::trimsplit(',', $arrRow['value']); } } // Encode opening arrow brackets (see #3998) $varValue = preg_replace_callback( '@/]*)@', static function ($matches) use ($strAllowedTags) { if (!$matches[1] || stripos($strAllowedTags, '<' . strtolower($matches[1]) . '>') === false) { $matches[0] = str_replace('<', '<', $matches[0]); } return $matches[0]; }, $varValue ); // Strip the tags $varValue = strip_tags($varValue, $strAllowedTags); // Restore HTML comments and recheck for encoded null bytes $varValue = str_replace(array('<!--', '<![', '\\0'), array('|[>"\'=]+@', static function ($matches) use ($strAllowedTags, $arrAllowedAttributes, &$blnCommentOpen, &$strOpenRawtext) { $strTagName = strtolower($matches[1] ?? ''); if ($strOpenRawtext === $strTagName && '/' === $matches[0][1]) { $strOpenRawtext = null; return ''; } if (null !== $strOpenRawtext) { return $matches[0]; } if ($blnCommentOpen && substr($matches[0], -3) === '-->') { $blnCommentOpen = false; return static::encodeSpecialChars(substr($matches[0], 0, -3)) . '-->'; } if (!$blnCommentOpen && 0 === strncmp($matches[0], '') { return ''; } $blnCommentOpen = true; return '