I am trying to run a small javascript script. one of the parameters of the XMLHttpRequest is a file path, so a URL would look like:
http://myaddress:myport/action/C:\\PATH\\TO\\MY\\FILE.EXT/some/other/params
however, XMLHttpRequest changes the address to:
http://myaddress:myport/action/C://PATH//TO//MY//FILE.EXT/some/other/params
which breaks the application. How can I prevent XMLHttpRequest from changing the requested address?
Don’t put raw special characters in the URL.