Quotation marks in the name property of an HTML form are encoded with ASCII encoding two times during form submission in Internet Explorer 9

Article translations Article translations
Article ID: 2722090 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

In Internet Explorer 9, you browse to a webpage that contains an HTML form. For example, the webpage contains HTML form code that resembles the following:
<form name="myForm" method="POST" action=""> <input type="text" name='some"input"name' /> <input type="submit" name='a"submit"button' /> </form>

When you click Submit to submit the form, the quotation marks in the name property are encoded two times with their ASCII encoding.

In this example, in earlier versions of Internet Explorer, the text in the name property of the input type element is converted to the following:
some%22input%22name

Note The %22 is the ASCII encoding for the quotation mark (").

However, in Internet Explorer 9, the percent sign (%) of the expected %22 ASCII encoding is also converted to an ASCII encoding of %25. This results in the name property incorrectly resembling the following:
some%2522input%2522name

RESOLUTION

To resolve this problem, install this update.

Security update information

To resolve this issue, install the most recent cumulative security update for Internet Explorer. To do this, visit the following Microsoft website:
http://update.microsoft.com
For more technical information about the most recent cumulative security update for Internet Explorer, visit the following Microsoft website:
http://www.microsoft.com/technet/security/current.aspx
Note This update was first included in security update 2699988.

For more information about the security update, click the following article number to view the article in the Microsoft Knowledge Base:
2699988 MS12-037: Cumulative security update for Internet Explorer: June 12, 2012

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 2722090 - Last Review: June 13, 2012 - Revision: 1.0
APPLIES TO
  • Windows Internet Explorer 9
Keywords: 
kbqfe kbfix kbbug kbexpertiseinter kbsurveynew KB2722090

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com