FIX: Extra Invalid Characters in String Arguments (152968)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
This article was previously published under Q152968 SYMPTOMS
When the POST method is used to send information from an HTML form to an
MFC ISAPI DLL, the last parameter in the function handling command may have
extra characters that are not part of the actual input. This will happen if
the last parameter is a string.
CAUSE
When the POST method is used, the input from the IIS server may contain
extra characters that are not part of the input. These extra characters
are sent by a browser. The code in MFC does not handle this situation
correctly and appends these extra characters to the last parameter of your
function if it is a string.
RESOLUTION
The sample code in the More Information section below should work around
the problem.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug was corrected in Visual C++ 32-
bit Edition version 4.2.
Modification Type: | Major | Last Reviewed: | 10/24/2003 |
---|
Keywords: | kbBug kbcode kbfix kbVC420fix KB152968 |
---|
|