diff options
author | Olaf Alders <olaf@wundersolutions.com> | 2019-01-09 12:00:26 -0500 |
---|---|---|
committer | Olaf Alders <olaf@wundersolutions.com> | 2019-01-09 12:00:26 -0500 |
commit | 7d575c22dd06c2a23fa9012ca8782cf9d88bb5d4 (patch) | |
tree | dd07a68486cc267d4a6e76fc1c17794cb1f3998f | |
parent | 4a59f9c101316ca0cadc603f07ae31dbc20717b2 (diff) | |
download | uri-7d575c22dd06c2a23fa9012ca8782cf9d88bb5d4.tar.gz |
URI-1.76v1.76
- Revert changes introduced in 1.75
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | README.md | 8 |
2 files changed, 3 insertions, 7 deletions
@@ -1,6 +1,6 @@ Revision history for URI -{{$NEXT}} +1.76 2019-01-09 16:59:54Z - Revert changes introduced in 1.75 1.75 2019-01-08 19:45:38Z @@ -205,12 +205,8 @@ The common methods available for all URI are: uppercasing all escape sequences, and unescaping octets that can be better represented as plain characters. - Before version 1.75, this method would return the original unchanged - `$uri` object if it detected nothing to change. To make the return - value consistent (and since the efficiency gains from this behaviour - were marginal), this method now unconditionally returns a clone. This - means idioms like `$uri->clone->canonical` are no longer - necessary. + For efficiency reasons, if the $uri is already in normalized form, + then a reference to it is returned instead of a copy. - $uri->eq( $other\_uri ) - URI::eq( $first\_uri, $other\_uri ) |