GoogleChromeLabs / native-url

Node's url module implemented using the built-in URL API.
https://npm.im/native-url
Apache License 2.0
284 stars 11 forks source link

bug: Incorrectly strips trailing space #12

Closed Timer closed 4 years ago

Timer commented 4 years ago

Expected Behavior

> url.parse('https://google.com/hello?test=space%20').search
'?test=space%20'

Actual Behavior

> require('native-url').parse('https://google.com/hello?test=space%20').search
'?test=space'

Steps to Reproduce the Problem

N/A

Specifications