constant UriNormalizer::REMOVE_DUPLICATE_SLASHES in Lockr 7.3
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.html → http://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\Psr7Code
const REMOVE_DUPLICATE_SLASHES = 64;