url: `url.format()` encodes all `#` in `search`
This commit fixes an error where only the first occurrence of `#` in `search` parameter is URL encoded, and subsequent occurrences are not. Also added a test for the case. Fixes: https://github.com/nodejs/node/issues/8064 PR-URL: https://github.com/nodejs/node/pull/8072 Reviewed-By:James M Snell <jasnell@gmail.com>
parent
3a3fde69
Please register or sign in to comment