[PATCH] Do not handle form enctype="text/html" as enctype="text/plain"
Aurélien Gâteau
agateau at dental-on-line.fr
Thu May 11 14:16:39 BST 2006
Hello,
One of my customers reported he could not log on a website where the login
form looked like this:
<form action="bla" method="post" enctype="text/html">
...
</form>
This login form works well on Firefox 1.0 while it does not work on
Konqueror 3.4.3 and 3.5.0.
Looking at the HTTP request, Firefox sends the content as
"application/x-www-form-urlencoded" while Konqueror sends it as
"text/plain".
Attached patch fixes this by posting a form as "text/plain" only if enctype
contains "text" *and* "plain", rather that "text" *or* "plain".
Can it be applied?
Regards,
Aurélien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdelibs_khtml-form_enctype-kde3.5.diff
Type: text/x-diff
Size: 588 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20060511/bfbbfe98/attachment.diff>
More information about the kfm-devel
mailing list