urljs icon indicating copy to clipboard operation
urljs copied to clipboard

Normalize port information

Open stoarca opened this issue 10 years ago • 1 comments

One thing that often comes up for our use case is normalizing default ports.

E.g. we'd like

URL.normalize('http://www.mysite.com:80/path')

to turn into

'http://www.mysite.com/path'

and

URL.normalize('https://www.mysite.com:443/path')

to turn into

'https://www.mysite.com/path'

Any plans for this?

stoarca avatar Nov 21 '14 06:11 stoarca

No plans, this project should be considered deprecated.

ericf avatar Feb 13 '15 07:02 ericf