[Zope] [BUG] funny Zope conflict resolution -- avoid using "URL" as name!

Dieter Maurer dieter@handshake.de
Fri, 9 Mar 2001 20:13:58 +0100 (CET)


Assume, you have a form control with name 'URL'.

What value for the variable 'URL' would you expect
in the form action? The request URL or the value
of the form value for 'URL'.

You will be surprised how Zope resolves this confict:

  it appends the path component of the request URL
  onto the form control value!


This is for the current ZopeCVS.
In Zope 2.1.6, not only URL, but all URLi and BASEi are wrong.


The problem description is on its way to the Collector.


Apparently, it is a very good advice to avoid 'URL' as
a name in any Zope context.


Dieter