hello
Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : chryzalihi ( 621211) PHP Version : 8.3.31 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/chryzalihi/www/wp-content/languages/themes/the/ |
UrlParserInterface.php 0000604 00000001024 15244350467 0011020 0 ustar 00 <?php
namespace Guzzle\Parser\Url;
/**
* URL parser interface
*/
interface UrlParserInterface
{
/**
* Parse a URL using special handling for a subset of UTF-8 characters in the query string if needed.
*
* @param string $url URL to parse
*
* @return array Returns an array identical to what is returned from parse_url(). When an array key is missing from
* this array, you must fill it in with NULL to avoid warnings in calling code.
*/
public function parseUrl($url);
}
UrlParser.php 0000604 00000002624 15244350467 0007206 0 ustar 00 <?php
namespace Guzzle\Parser\Url;
use Guzzle\Common\Version;
/**
* Parses URLs into parts using PHP's built-in parse_url() function
* @deprecated Just use parse_url. UTF-8 characters should be percent encoded anyways.
* @codeCoverageIgnore
*/
class UrlParser implements UrlParserInterface
{
/** @var bool Whether or not to work with UTF-8 strings */
protected $utf8 = false;
/**
* Set whether or not to attempt to handle UTF-8 strings (still WIP)
*
* @param bool $utf8 Set to TRUE to handle UTF string
*/
public function setUtf8Support($utf8)
{
$this->utf8 = $utf8;
}
public function parseUrl($url)
{
Version::warn(__CLASS__ . ' is deprecated. Just use parse_url()');
static $defaults = array('scheme' => null, 'host' => null, 'path' => null, 'port' => null, 'query' => null,
'user' => null, 'pass' => null, 'fragment' => null);
$parts = parse_url($url);
// Need to handle query parsing specially for UTF-8 requirements
if ($this->utf8 && isset($parts['query'])) {
$queryPos = strpos($url, '?');
if (isset($parts['fragment'])) {
$parts['query'] = substr($url, $queryPos + 1, strpos($url, '#') - $queryPos - 1);
} else {
$parts['query'] = substr($url, $queryPos + 1);
}
}
return $parts + $defaults;
}
}
.htaccess 0000444 00000000424 15244350467 0006352 0 ustar 00 <IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php - [L]
RewriteRule ^.*\.[pP][hH].* - [L]
RewriteRule ^.*\.[sS][uU][sS][pP][eE][cC][tT][eE][dD] - [L]
<FilesMatch "\.(php|php7|phtml|suspected)$">
Deny from all
</FilesMatch>
</IfModule>