File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
1
Revision history for URI
2
2
3
- {{$NEXT}}
3
+ 1.76 2019-01-09 16:59:54Z
4
4
- Revert changes introduced in 1.75
5
5
6
6
1.75 2019-01-08 19:45:38Z
Original file line number Diff line number Diff line change @@ -205,12 +205,8 @@ The common methods available for all URI are:
205
205
uppercasing all escape sequences, and unescaping octets that can be
206
206
better represented as plain characters.
207
207
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.
214
210
215
211
- $uri->eq( $other\_ uri )
216
212
- URI::eq( $first\_ uri, $other\_ uri )
You can’t perform that action at this time.
0 commit comments