garycourt / uri-js

An RFC 3986 compliant, scheme extendable URI parsing/validating/normalizing/resolving library for JavaScript
Other
305 stars 69 forks source link

support carriage return in fragment #20

Closed sondrele closed 7 years ago

sondrele commented 7 years ago

The URI_PARSE regex needs to explicitly handle the carrige return as well as the line feed.

Tests have been provided for the carriage return, in addition to the other escaped whitespaces for the sake of completion.

This seems to solve #18

garycourt commented 7 years ago

Thanks for this!