You are here

constant UriNormalizer::DECODE_UNRESERVED_CHARACTERS in Lockr 7.3

Decodes percent-encoded octets of unreserved characters.

For consistency, percent-encoded octets in the ranges of ALPHA (%41–%5A and %61–%7A), DIGIT (%30–%39), hyphen (%2D), period (%2E), underscore (%5F), or tilde (%7E) should not be created by URI producers and, when found in a URI, should be decoded to their corresponding unreserved characters by URI normalizers.

Example: http://example.org/%7Eusern%61me/http://example.org/~username/

File

vendor/guzzlehttp/psr7/src/UriNormalizer.php, line 39

Class

UriNormalizer
Provides methods to normalize and compare URIs.

Namespace

GuzzleHttp\Psr7

Code

const DECODE_UNRESERVED_CHARACTERS = 2;