[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 10:27:42 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.

Which browsers do you refer to when you say, in general? I've never
experienced this problem.

Also I have a question. Is it guaranteed that the browser always will
use UTF-8 to encode the URL? It'll fail if it doesn't.

Regards,

Bjorn


More information about the Zope3-Checkins mailing list