X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FUrl.md;h=074099eac5c3cd239c1cce7ee3792f4788d4b7d9;hb=833affdd89838632c71810fc4ee98d2bd30ebd34;hp=8069c342da1c190e5b2c14d24236ebcf14d9b9d2;hpb=a9966e91a49824155b1d9b3b3a580d43b20e3662;p=mdref%2Fmdref-http diff --git a/http/Url.md b/http/Url.md index 8069c34..074099e 100644 --- a/http/Url.md +++ b/http/Url.md @@ -1,4 +1,4 @@ -# class http\Url extends http\Object +# class http\Url The http\Url class provides versatile means to parse, construct and manipulate URLs. @@ -30,23 +30,30 @@ The http\Url class provides versatile means to parse, construct and manipulate U Import initial URL parts from the SAPI environment. * SANITIZE_PATH Whether to sanitize the URL path (consolidate double slashes, directory jumps etc.) - +* PARSE_MBUTF8 + Parse UTF-8 encododed multibyte sequences. +* PARSE_MBLOC + Parse locale encoded multibyte sequences (on systems with wide character support). +* PARSE_TOIDN + Parse and convert multibyte hostnames according to IDNA (with libidn support). +* PARSE_TOPCT + Percent encode multibyte sequences in the userinfo, path, query and fragment parts of the URL. ## Properties: -* public $scheme = NULL +* public string $scheme = NULL The URL's scheme. -* public $user = NULL +* public string $user = NULL Authenticating user. -* public $pass = NULL +* public string $pass = NULL Authentication password. -* public $host = NULL +* public string $host = NULL Hostname/domain. -* public $port = NULL +* public string $port = NULL Port. -* public $path = NULL +* public string $path = NULL URL path. -* public $query = NULL +* public string $query = NULL URL querystring. -* public $fragment = NULL +* public string $fragment = NULL URL fragment (hash).