[Zope] URL Redirection problems...

Dieter Maurer dieter@handshake.de
Fri, 14 Dec 2001 20:45:13 +0100


Florent Guillaume writes:
 > Vitor Varalonga  <vpedrosa@ciberbit.pt> wrote:
 > > Python >> container.REQUEST.RESPONSE.redirect("/abc/xpto?a=1&b=2&c=3")
 > 
 > Strictly speaking this is not correct. You should use
 > 
 > container.REQUEST.RESPONSE.redirect("/abc/xpto?a=1&amp;b=2&amp;c=3")
I do not think that this is necessary or even allowed.

   Inside HTML documents, you need to use "&amp;" for "&" but
   here, you are not inside the SGML/HTML/XML world.
   You are in the HTTP worlds were "&" is the query string
   separator, not "&amp;"


Dieter