[PEAR-DEV] Patch to =?ISO-8859-1?Q?OOH=B4s?= form.php
by Markus Wolff other posts by this author
Oct 12 2002 5:38PM messages near this date
Re: [PEAR-DEV] Re: [PEAR] [ANNOUNCEMENT] XML_XSLT_Wrapper-0.2 (alpha)
Released.
|
[PEAR-DEV] Re: [PEAR] [ANNOUNCEMENT] PEAR-1.0b1 (stable) Released.
Hi there,
I=B4ve noticed that the opening tag for a form generated by HTML_OOH_Form
lacks the "enctype" attribute when using fileupload elements. This way,
uploaded files are never sent correctly by the browser.
A small patch is included - I=B4ve added a new property that contains a
list of all elements that require the "enctype" attribute to be set. In
the addElement() method, this list is being checked and if the current
element matches one out of that list, a flag is being set that tells
getStart() to put the attribute into the form tag.
Ironically, the flag has always been there, but was never set.
Regards,
Markus
--=20
Markus Wolff <wolff@[...].de>
Attachments:
unknown1
|