PATH:
var
/
www
/
vhosts
/
sandbox.dos-group.com
/
httpdocs
/
mendrisio
/
wp-content
/
plugins
/
redirection
/
models
<?php require_once __DIR__ . '/url-query.php'; require_once __DIR__ . '/url-path.php'; require_once __DIR__ . '/url-match.php'; require_once __DIR__ . '/url-flags.php'; require_once __DIR__ . '/url-request.php'; class Red_Url { private $url; public function __construct( $url = '' ) { $this->url = $url; $this->url = str_replace( ' ', '%20', $this->url ); // deprecated } /** * Get the raw URL * * @return string URL */ public function get_url() { return $this->url; } /** * Match a target URL against the current URL, using any match flags * * @param string $requested_url Target URL * @param Red_Source_Flags $flags Match flags * @return boolean */ public function is_match( $requested_url, Red_Source_Flags $flags ) { if ( $flags->is_regex() ) { $regex = new Red_Regex( $this->url, $flags->is_ignore_case() ); return $regex->is_match( $requested_url ); } $path = new Red_Url_Path( $this->url ); $query = new Red_Url_Query( $this->url, $flags ); return $path->is_match( $requested_url, $flags ) && $query->is_match( $requested_url, $flags ); } }
[-] redirect-sanitizer.php
[open]
[-] url-match.php
[open]
[-] request.php
[open]
[-] canonical.php
[open]
[-] url-path.php
[open]
[-] module.php
[open]
[-] match.php
[open]
[-] url.php
[open]
[-] redirect.php
[open]
[-] url-request.php
[open]
[+]
..
[-] file-io.php
[open]
[-] flusher.php
[open]
[-] regex.php
[open]
[-] group.php
[open]
[-] url-query.php
[open]
[-] fixer.php
[open]
[-] importer.php
[open]
[-] monitor.php
[open]
[-] url-flags.php
[open]
[-] header.php
[open]
[-] log.php
[open]
[-] action.php
[open]
[-] htaccess.php
[open]