garycourt / uri-js

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

URI.serialize ignores String port #46

Closed polmabri closed 4 years ago

polmabri commented 5 years ago
components = {
    scheme : "uri",
    host : "example.com",
    port : "9000"
};
URI.serialize(components)

actual: uri://example.com expected: uri://example.com:9000