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

Incorrectly parsing ?filter=size:10 #24

Closed bmathews closed 4 years ago

bmathews commented 4 years ago

Expected Behavior

parse('?filter=size:10') should return correct values, like node's url.parse:

image

Actual Behavior

Incorrectly appends 00 to end of url after parsing: image

This seems to be related to the colon, which should arguably be encoded.

Steps to Reproduce the Problem

parse('?filter=size:10')

Specifications

janicklas-ralph commented 4 years ago

Fixed in 0.3.1

bmathews commented 4 years ago

Thanks @janicklas-ralph !