glenscott/url-normalizer — pull request #7 by emojka (2012-08-11 23:20:39+00:00)
Title: Query, Fragment to RFC 3986 and code refactoring

My apologies, I could not get PHPUnit to work, so I recreated your normalization tests in `test-client.php`. This is looking like full coverage of the RFC 3986 standard.

Change log:
- Query, Fragment are now normalised to RFC 3986
- Replaced decode/encode with native PHP functions
- Added flush to class properties when encountering unparsable URL
- Removed `getScheme()`, and `schemeBasedNormalization()` in favour of appending colon to `$default_scheme_ports` keys.