instagrat
asked on
Error on form submission containing file input
The error "Corrupt form data: premature ending" appears in the cfserver.log when a form is submitted with a file (to be uploaded to the server) from a form using ENCTYPE="multipart/form-da ta" and the error occurs while using https and ONLY in IE. Firefox, Safari, etc. are not experiencing the problem. The user experiences either an immediate "500 Internal Server Error" response or a long lag before receiving the 500 error.
I've seen numerous posts about this issue in the Macromedia forums (via Google groups), but little on the cause or the solution. There was one very informative post about changing some IIS settings, but we are running Red Hat Linux and ColdFusion MX 7 (with up to date hotfixes). Perhaps someone out there has run into this problem or has a resource they can point me to.
Thanks in advance.
- Louis
I've seen numerous posts about this issue in the Macromedia forums (via Google groups), but little on the cause or the solution. There was one very informative post about changing some IIS settings, but we are running Red Hat Linux and ColdFusion MX 7 (with up to date hotfixes). Perhaps someone out there has run into this problem or has a resource they can point me to.
Thanks in advance.
- Louis
IE is every bit as stable as any other browser, moreso in some cases.
It would seem, from my experience, to be an issue with high ascii data in other fields in a form that's set to multipart/form-data.
It would seem, from my experience, to be an issue with high ascii data in other fields in a form that's set to multipart/form-data.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
kidding..... jeez
I have a behavior, which is IE-only, that "cleanses" form field data by converting high-ascii characters to their html character entities. That seems to eliminate the problem. It does require the scripting is enabled, so a small percentage will still experience a problem. Due to work restrictions, I'm not permitted to post the code for free, unfortunately,
not really a solution but........suggest that your users use a stable browser, as in not IE