Skip to content

Commit 7d575c2

Browse files
committed
URI-1.76
- Revert changes introduced in 1.75
1 parent 4a59f9c commit 7d575c2

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Changes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Revision history for URI
22

3-
{{$NEXT}}
3+
1.76 2019-01-09 16:59:54Z
44
- Revert changes introduced in 1.75
55

66
1.75 2019-01-08 19:45:38Z

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,8 @@ The common methods available for all URI are:
205205
uppercasing all escape sequences, and unescaping octets that can be
206206
better represented as plain characters.
207207

208-
Before version 1.75, this method would return the original unchanged
209-
`$uri` object if it detected nothing to change. To make the return
210-
value consistent (and since the efficiency gains from this behaviour
211-
were marginal), this method now unconditionally returns a clone. This
212-
means idioms like `$uri->clone->canonical` are no longer
213-
necessary.
208+
For efficiency reasons, if the $uri is already in normalized form,
209+
then a reference to it is returned instead of a copy.
214210

215211
- $uri->eq( $other\_uri )
216212
- URI::eq( $first\_uri, $other\_uri )

0 commit comments

Comments
 (0)