Florent Guillaume wrote:

Redirecting to a relative url is illegal in the HTTP spec. You must always use a fully qualified url.


+    redirect_url = REQUEST['HTTP_REFERER'] or '.'
+    RESPONSE.redirect(redirect_url)

OK, but can you raise that one zope3-dev? It is used all over the place in the zope3 code as a standard way or doing redirection, just do a grep on:

$ grep -r  response.redirect Zope3/src

I checked the redirect() method in publisher/http.py and it just sets the Location to what it is told to ('.', 'somemethod.html')

Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to