mirror of
https://github.com/getgrav/grav.git
synced 2026-01-27 01:40:04 +01:00
* Clean up and simplify Uri code * Rewrite and clean up Uri class (fixes broken test cases) * Fix some more Uri bugs based on new unit tests * Removed double encoding * Added html_entity_decode on params to handle UTF8 chars * Uri: Fix protocol/host omitting URLs and default ports * Added support for `$uri->toArray()` and `(string)$uri` * Fixed bug in `Uri::buildParams()` causing parameters to be repeated * Fixed double // in `Uri::addNonce()` when URL ends to slash, added tests for nonce * Fixed nonce generation for URLs which contain query params or anchor * Added a test for UTF-8 params * Removed troublesome test!