You are here

constant UriNormalizer::REMOVE_DUPLICATE_SLASHES in Auth0 Single Sign On 8.2

Paths which include two or more adjacent slashes are converted to one.

Webservers usually ignore duplicate slashes and treat those URIs equivalent. But in theory those URIs do not need to be equivalent. So this normalization may change the semantics. Encoded slashes (%2F) are not removed.

Example: http://example.org//foo///bar.htmlhttp://example.org/foo/bar.html

File

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

Class

UriNormalizer
Provides methods to normalize and compare URIs.

Namespace

GuzzleHttp\Psr7

Code

const REMOVE_DUPLICATE_SLASHES = 64;