konqueror enctype bug?

Mick Szucs mick at onramp.ca
Wed Apr 2 15:14:04 BST 2003


Hi all,

Using kde 3.1 under Mandrake 9.1.  Hoping someone can tell me if this is
a configurable behaviour or a bug.

Take this example form:

---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><HTML>
<HEAD>
<TITLE>Test Form</TITLE>
</HEAD><BODY>
<FORM ENCTYPE="multipart/form-data" ACTION="/MonCleanup" METHOD="GET">
<TABLE class="stdtable" BORDER=1>
<TR><TD COLSPAN=4><TABLE RULES=ALL FRAME=VOID WIDTH=100%><TR><TD BGCOLOR="#FFFF80" WIDTH=25%><INPUT TYPE=CHECKBOX name="[killcolouralg]" value="Y"><TD BGCOLOR="#FFC000" WIDTH=25%><INPUT TYPE=CHECKBOX name="[killcolouralg]" value="O"><TD BGCOLOR="#FF0000" WIDTH=25%><INPUT TYPE=CHECKBOX name="[killcolouralg]" value="R"><TD BGCOLOR="#FF00FF" WIDTH=25%><INPUT TYPE=CHECKBOX name="[killcolouralg]" value="M"></TABLE></TABLE><INPUT TYPE=HIDDEN name="fmt" value="plot"><INPUT TYPE=SUBMIT name="kill" value="Kill...">
<INPUT TYPE=SUBMIT name="kill-till-whenever" value="Kill to BW...">
<INPUT TYPE=SUBMIT name="kill-to-rt" value="Kill to RT...">
<INPUT TYPE=SUBMIT name="kill-ignore-history" value="Ignore History...">
<INPUT TYPE=SUBMIT name="importoverride" value="Import Overriding Value...">
<INPUT TYPE=SUBMIT name="fmt" value="Plot"><INPUT TYPE=TEXT NAME=stm VALUE = >duration <INPUT TYPE=SUBMIT name="fmt" value="Plot Colour">
</FORM>
</BODY></HTML>
---

When I submit from Knoqueror, the resulting URL looks something like:

MonCleanup?------------0xKhTmLbOuNdArY%0D%0AContent-Disposition:%20form-data;%20name="fmt"%0D%0A%0D%0Aplot%0D%0A------------0xKhTmLbOuNdArY%0D%0AContent-Disposition:%20form-data;%20name="stm"%0D%0A%0D%0A%0D%0A------------0xKhTmLbOuNdArY%0D%0AContent-Disposition:%20form-data;%20name="fmt"%0D%0A%0D%0APlot%20Colour%0D%0A------------0xKhTmLbOuNdArY--%0D%0A

However, the same submit from Galeon does what it's supposed to do and
results in something like:

MonCleanup?mt=plot&stm=&fmt=Plot+Colour

Which is what I'm looking for.

Experimenting, I've discovered that Konqueror works if I remove the
ENCTYPE="multipart/form-data" from the form definition.  The question is
whether or not it's Konqueror or the HTML that's wonky.

Hoping someone can shed some light on this, or at least point me in the
right direction.

Thanks,
-- 
Mick Szucs <mick at onramp.ca>
Onramp Network Services Inc.

___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list