fix(http): URLSearchParams.clone propagate the QueryEncoder (#9900)
This commit is contained in:
committed by
Victor Berchet
parent
0d6cc17252
commit
251953218c
@@ -89,7 +89,7 @@ export class URLSearchParams {
|
||||
}
|
||||
|
||||
clone(): URLSearchParams {
|
||||
var clone = new URLSearchParams();
|
||||
var clone = new URLSearchParams('', this.queryEncoder);
|
||||
clone.appendAll(this);
|
||||
return clone;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user