Closed arusakov closed 9 years ago
Hi, wandenberg
Current code for parsing url:
var parser = document.createElement('a'); parser.href = url;
If url does not contains port, for example "http://test.com", IE behaves differently then other browsers.
normalizePort() fix that for http and https protocols.
Merged with small changes. Thanks
Hi, wandenberg
Current code for parsing url:
If url does not contains port, for example "http://test.com", IE behaves differently then other browsers.
normalizePort() fix that for http and https protocols.