BUG: Internet Explorer 6 does not correctly handle the percent character (%) in a URL in the OBJECT tag (326980)
The information in this article applies to:
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Internet Explorer (Programming) 6 (SP1)
- Microsoft Internet Explorer (Programming) 6.0
This article was previously published under Q326980 SYMPTOMS When hosted in Internet Explorer, a Microsoft .NET Windows
Form control may not load correctly when the URL contains a percent character (%). CAUSE The percent character ( %) is considered unsafe because it is used for encoding of other
characters. In a URL, all unsafe characters must be encoded (for example, % is encoded as %25). For example, when you move to a page using the
following URL, Internet Explorer decodes %2545 into %45 and successfully finds
the HTML page: http://webserver/%2545/iehosting.html However, the Web server for the .NET WinForm control
responds in the following manner:
- When Internet Explorer requests the Web server for the .NET
WinForm control, the following URL is used (note the %45):
URL http://webserver/%45/ieControl.dll
- The Web server decodes this URL in the following order:
- %45 translates to 0x45
- 0x45 is 69
- %45 translates to the character E
- As a result, the last location where the Web server looks
for the control is http://webserver/E/ieControl.dll (note the E, instead of
%45).
Because Internet Explorer cannot find the control, it does not
load.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
REFERENCES For more information about URL encoding, visit the
following Network Working Group (Request for Comments 1738) Web site:
Modification Type: | Minor | Last Reviewed: | 9/14/2005 |
---|
Keywords: | kbvs2002sp1sweep kbbug kbfix KB326980 kbAudDeveloper |
---|
|