BUG: Special Characters Are Getting Converted Inside String (212704)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 3.0
- Microsoft Internet Explorer (Programming) 3.01
- Microsoft Internet Explorer (Programming) 3.02
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 4.01 SP1
- Microsoft Internet Explorer (Programming) 4.01 SP2
This article was previously published under Q212704 SYMPTOMS
Internet Explorer converts all instances of named entities inside an HTML document, even when common convention dictates that it should not, such as inside tag attribute quoted strings.
For example, Internet Explorer would treat the following opening anchor tag as if the URL contained a less than (<) symbol in the middle.
<a href="test.asp?param1=value1<name=value2">
RESOLUTION
Change any instances of ampersands in the HTML document to the following:
"&"
If the page should be converting the ampersand combination as a named entity, ensure that the named entity is correctly terminated by a semicolon. Change query string parameters for URLs that are not generated by form submittals so they don't use names similar to typical named entities.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Internet Explorer 5.
Modification Type: | Minor | Last Reviewed: | 1/23/2004 |
---|
Keywords: | kbBug kbhtml kbpending KB212704 |
---|
|