Closed codeuniquely closed 9 years ago
It works fine for me. Make sure the URL is not being escaped before you pass it to URI.parse.
you can clearly see from the "cut and pasted" and pasted URL above that its not escaped ... Don't worry found someone else library that actually works -
Well, I'm getting a different object being generated then you, with the correct output. I still think the problem is on your end.
passing in a URL of: http://localhost:3000/Hi5Cloud/ContentManagement/uploadFile/uqAKRnpeeugwH4gX8dMsGve87Tof/TAC/600000000/.
getting the following object
obviously the host and port values are broken ...
When I then to a xhr.open() using this I get the following error "Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource."