System.Uri problem
-
I have a URL that I can open in the browser, but System.Uri removes a slash when it encounters an extra http: in the URL. Here is the URL: http://citeseer.ist.psu.edu/rd/55811103,124,1,0.25,Download/http://citeseer.ist.psu.edu/cache/papers/cs/1473/http:zSzzSzmaui.theoinf.tu-ilmenau.dezSzforschungzSzlinkszSz..zSzdoczSzhybrid\_automata.pdf/alur92hybrid.pdf System.Uri changes the above URL to (notice that http:// after Download is changed to http:/) http://citeseer.ist.psu.edu/rd/55811103,124,1,0.25,Download/http:/citeseer.ist.psu.edu/cache/papers/cs/1473/http:zSzzSzmaui.theoinf.tu-ilmenau.dezSzforschungzSzlinkszSz..zSzdoczSzhybrid\_automata.pdf/alur92hybrid.pdf As a result, I get NameResolution exception when making HttpWebRequest.GetResponse() calls.
-
I have a URL that I can open in the browser, but System.Uri removes a slash when it encounters an extra http: in the URL. Here is the URL: http://citeseer.ist.psu.edu/rd/55811103,124,1,0.25,Download/http://citeseer.ist.psu.edu/cache/papers/cs/1473/http:zSzzSzmaui.theoinf.tu-ilmenau.dezSzforschungzSzlinkszSz..zSzdoczSzhybrid\_automata.pdf/alur92hybrid.pdf System.Uri changes the above URL to (notice that http:// after Download is changed to http:/) http://citeseer.ist.psu.edu/rd/55811103,124,1,0.25,Download/http:/citeseer.ist.psu.edu/cache/papers/cs/1473/http:zSzzSzmaui.theoinf.tu-ilmenau.dezSzforschungzSzlinkszSz..zSzdoczSzhybrid\_automata.pdf/alur92hybrid.pdf As a result, I get NameResolution exception when making HttpWebRequest.GetResponse() calls.
-
I have a URL that I can open in the browser, but System.Uri removes a slash when it encounters an extra http: in the URL. Here is the URL: http://citeseer.ist.psu.edu/rd/55811103,124,1,0.25,Download/http://citeseer.ist.psu.edu/cache/papers/cs/1473/http:zSzzSzmaui.theoinf.tu-ilmenau.dezSzforschungzSzlinkszSz..zSzdoczSzhybrid\_automata.pdf/alur92hybrid.pdf System.Uri changes the above URL to (notice that http:// after Download is changed to http:/) http://citeseer.ist.psu.edu/rd/55811103,124,1,0.25,Download/http:/citeseer.ist.psu.edu/cache/papers/cs/1473/http:zSzzSzmaui.theoinf.tu-ilmenau.dezSzforschungzSzlinkszSz..zSzdoczSzhybrid\_automata.pdf/alur92hybrid.pdf As a result, I get NameResolution exception when making HttpWebRequest.GetResponse() calls.