开发者

Named anchor in URL upsets IIS server and ASP.Net

开发者 https://www.devze.com 2023-03-21 06:31 出处:网络
When sent from a browser as we know named anchor is not part of GET http://www.osfi-bsif.gc.ca/osfi/index_e.aspx?articleid=166#warningnotices

When sent from a browser as we know named anchor is not part of GET

http://www.osfi-bsif.gc.ca/osfi/index_e.aspx?articleid=166#warningnotices

Just wondering if scrape this page from the code with the anchor in url ( left accidentally )

oxmlhttp = cre开发者_高级运维ateobject("microsoft.xmlhttp")
oxmlhttp.open('GET', "http://www.osfi-bsif.gc.ca/osfi/index_e.aspx?articleid=166#warningnotices", .t.)
oxmlhttp.send()

what causes such a painful reaction, as in a code ( oxmlhttp.ResponseBody ) we receive back a page :

extract from response "We are experiencing technical difficulties with our Web site. Normal service should resume shortly. We apologize for the inconvenience and thank you for your understanding".


Is this page yours?

If not, then the developer of the page may have / have not implemented a check to handle #.

To me the error message sounds as if it is a generic error handler when an unhandled exception occurs.

0

精彩评论

暂无评论...
验证码 换一张
取 消