Article ID: 261116 - Last Review: February 23, 2007 - Revision: 3.3 ASP Incorrectly Decodes the QUERY_STRING and May Reveal the Metabase Path InformationThis article was previously published under Q261116 SYMPTOMS
You use the Response.QueryString collection to retrieve values from the end of an URL, but you do not receive the expected values. The values returned may instead be Internet Information Services (IIS) metabase information.
CAUSE
The Active Server Pages (ASP) intrinsic Request object contains information that is sent from the client to the server in an HTTP request. The QueryString collection contains any name/value pairs that appear at the end of the URL.
For example:
For example For example LM/W3SVC/1/Root/VirtualDirectoryName RESOLUTIONTo resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
260910
(http://support.microsoft.com/kb/260910/EN-US/
)
How to Obtain the Latest Windows 2000 Service Pack
To resolve this problem, you can use the Server.URLEncode function to encode QueryString values before you add them to the QueryString.For example: If you print out the name value using STATUSMicrosoft has confirmed that this is a problem in Microsoft Windows 2000. This problem was first corrected in Windows 2000 Service Pack 1. | Article Translations
|
Back to the top
