Skip to content

Commit

Permalink
Update search setter for whatwg/url#114
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Apr 15, 2016
1 parent 7fb0c82 commit 0f7a7c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/URL-impl.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ exports.implementation = class URLImpl {

if (v === "") {
url.query = null;
return;
}

const input = v[0] === "?" ? v.substring(1) : v;
Expand Down

0 comments on commit 0f7a7c8

Please sign in to comment.