The postdata parameter that is passed to the BeforeNavigate2 event may contain incomplete data in Internet Explorer 6 (890177)



The information in this article applies to:

  • Microsoft Internet Explorer 6.0, when used with:
    • Microsoft Windows Server 2003, Standard Edition
    • Microsoft Windows XP Service Pack 2
  • Microsoft Internet Explorer 6.0 SP1

SYMPTOMS

When you submit a form from a Web page that is displayed in a Web browser control application that sinks the BeforeNavigate2 event, the postdata parameter that is passed to the BeforeNavigate2 event may contain incomplete data.

CAUSE

This problem may occur if either one of the following conditions is true:
  • The form contains a FileUpload element.
  • The form has the content type "multipart/form-data" header.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Internet Explorer 6.

MORE INFORMATION

When a form uses the content type "multipart/form-data," the POST data is created in an array in multi-part MIME format. All the data for the elements up to the FileUpload element is stored in one element of the array. The binary contents of the file are stored in the next element of the array. The data for the elements after the FileUpload element is stored in a later element of the array.

When Internet Explorer passes the postdata parameter to the BeforeNavigate2 event, Internet Explorer only passes the first array element. This array element only contains the data up to the FileUpload element. Therefore, the postdata parameter that Internet Explorer passes to the BeforeNavigate2 event contains incomplete data.

Modification Type:MajorLast Reviewed:5/12/2005
Keywords:kbtshoot kbprb kbbug KB890177 kbAudDeveloper