[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/add.pt Avoid quoting the add form URL twice by unquoting the action attribute.

Bjorn Tillenius bjoti777 at student.liu.se
Tue Nov 30 13:23:23 EST 2004


On Mon, Nov 29, 2004 at 07:44:53PM -0500, Shane Hathaway wrote:
> Log message for revision 28539:
>   Avoid quoting the add form URL twice by unquoting the action attribute.
>   
>   Otherwise, the browser sees the encoded equal sign in the form's action
>   attribute and encodes it again, leading to "%253D".
>   
>   In general, it appears that browsers expect "href" attributes to already
>   be URL-quoted, but not any other attributes.  Confusing to say the least.

One thing that this fix definitely broke, is the possibility to have '?'
in an object's name.

Regards,

Bjorn


More information about the Zope3-Checkins mailing list