url-normalizer icon indicating copy to clipboard operation
url-normalizer copied to clipboard

Syntax based normalization of URI's

Results 12 url-normalizer issues
Sort by recently updated
recently updated
newest added

Hi all. Thought I would report a wrinkle I've found. In the following URL, note that there is only one slash after the https: scheme where there should be two:...

library should not contains `composer.lock`. Reference: https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control

Add test case: - HTTP on port 443 - HTTPS on port 80

I use Normalizer in my code, and after updating to PHP 8.1, I started getting this message **[16-Nov-2022 16:24:31 UTC] PHP Deprecated: Automatic conversion of false to array is deprecated...

If the fragment entity is exactly string "0", as if the URL http://example.com/#0 is passed to the method the if statment in Line 236 will return false even tough it...

The library is properly handling **one** or **two** dots in the URL path, but not properly when we've got there more dots than **two**. E.g. `http://www.example.com/../a/b/../c/./d.html` -> `http://www.example.com/a/c/d.html` - That's...

I have had some problems with urls that have been copied from browser bars. When the real url is in punycode the browser bar shows the UTF-8 representation which is...

The Problem is caused by the dynamic regular expressions used in the removeDotSegments() method. If you enter the Url which consists of more than 9000 forward slashes (HREF="///////////////////////////////....") this causes...

Please add some functionality for url with query parameters: 1. Sort query parameters (http://www.example.com/?b=2&c=3&a=0&A=1 => http://www.example.com/?a=0&A=1&b=2&c=3) 2. Remove duplicate query parameters (http://www.example.com/?a=1&a=2&b=4&a=1&c=4 => http://www.example.com/?a=1&a=2&b=3&c=4) 3. Remove empty query parameters (http://www.example.com/?a=1&b=&c=3...