POST data truncated in Internet Explorer 6

POST data truncated in Internet Explorer 6

Post by Ian Lotins » Mon, 01 May 2006 11:09:09


I had a really weird bug recently. I had a drop-down user control that
would not fire the onselectedchange event server-side. After nearly
twenty hours of debugging, I finally setup a local proxy (WebScarab,
which rocks by the way) and noticed that IE was deciding not to POST
the key/value pair for the event, but Firefox was.

I double- and triple-checked the XHTML, and the thing is valid. Here is

the post data, in summary:

IE6:
__EVENTTARGET=UcDDLBusinessUnit1%3AddlBusinessUnit&__EVENTARGUMENT.......=&iewQuestion2%3AddlStatusChangePR=4


Firefox:
__EVENTTARGET=UcDDLBusinessUnit1%3AddlBusinessUnit&__EVENTARGUMENT.......=&iewQuestion2%3AddlStatusChangePR=4&UcDDLBusinessUnit1%3AddlBusinessUnit=1


If I simply moved the user control up the page, the event started
firing server-side and the POST data Content-Length got longer (IE6
only).

Any thoughts? (For security reasons, I cannot publish the full POST
data or XHTML.)

Thanks,

Ian
 
 
 

POST data truncated in Internet Explorer 6

Post by Ian Lotins » Wed, 03 May 2006 10:50:20

After much more inspection it turned out that I did have a malformed
DOM. One of the other user controls had a "</FORM>" tag in it.
Interesting that Firefox ignored it.