[Zope] URL Redirection problems...

Florent Guillaume fg@nuxeo.com
14 Dec 2001 11:27:33 +0100


Hmmm Sorry I hadn't paid attention to this. You must always redirect
to a full URL, otherwise it's illegal HTTP.

	Florent

On Fri, 2001-12-14 at 11:22, Vitor Varalonga wrote:
> 
> 
> Florent Guillaume wrote:
> 
> > Strictly speaking this is not correct. You should use
> >
> > container.REQUEST.RESPONSE.redirect("/abc/xpto?a=1&b=2&c=3")
> 
> Hum... I though about it to...
> You mean I have to encode the URL.
> I tried it to and it didn't work out either.
> 
> 
> > Maybe your browser is very standards compliant ?
> >
> > But somehow I doubt this is it. What browser do you use ? What Zope
> > version ? What's in REQUEST.form ?
> 
> The browser I'm using is Internet Explorer 6.00.2462.0000.
> Concerning Zope, it must be version 2.5.0b2 since the install file was
> Zope-2.5.0b2-win32-x86.exe.
> As I mentioned in my original message, variables a, b and c are not
> stored in the REQUEST.form object, but I still can reach them through
> the property QUERY_STRING.
> Just a strange particularity: if I try to redirect instead to the
> absolute path of my destination URL, the variables passed through the
> query string are stored correctly in the REQUEST.form object, as in:
> 
> container.REQUEST.RESPONSE.redirect("http://www.dummy.pt/abc/xpto?a=1&b=2&c=3")
> 
> 
> 
> kind regards,
> 
> Vitor Varalonga
> 
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com