Commit b465cd07 authored by Michaël Zasso's avatar Michaël Zasso
Browse files

url: fix URL query update if searchParams changes

If searchParams becomes empty, query must be set to null.
Add missing update of context flags.

Fixes: https://github.com/nodejs/node/issues/10480
PR-URL: https://github.com/nodejs/node/pull/10486


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent db18dd83
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment