asp.net - Response Redirect URL returns HTTP Error 400 - Bad Request -
i'm noob when comes asp.net. know few basic commands such response.redirect("url") redirect application web page different location.
however receive http error 400 - bad request, whenever try use code shown below
response.redirect(server.urlencode(this.downloadlink)); where this.downloadlink user defined property returns this
http://mdn.vatsag.net/fp;files/download/vtsetup.exe if post link in browser, .exe file pops (means link good)
however error comes when use asp.net code.
any form of response on issue/reason appreciated.
see here: http://www.kirit.com/response.redirect%20and%20encoded%20uris
in short: if want fix issue, remove part of code urlencoding url!
Comments
Post a Comment