[Zope] Redirecting to url with query information

Tino Wildenhain tino@wildenhain.de
Thu, 13 Sep 2001 19:02:47 +0200


Hi Michael,

--On Donnerstag, 13. September 2001 17:51 +0200 Michael Schulz <mschulz@webgis.de> wrote:

> Hi,
>
> i am trying to redirect a request back to its origin-url after a user authentication using
> the response.redirect mechanism providing it with the url via http_referer.
>
> This works well unless the origin-url has a query section appended (e.g.
> http://www.xxx.yy/origin/url?id=3D007).
>
> Anybody has experienced the same and found a way how to solve that? No need to say that this
> query string is essential and it can't be omitted.

if you have always this query string (and no other form variables) and
you want to pass it unchanged, you can use the QUERY_STRING attribute
of REQUEST. In your example it would be "id=3D007"

HTH
Tino Wildenhain

> TIA, Michael
>
> --
> -----------------------------------------------------------
> Michael Schulz                             in medias res
> Dipl.-Geologe                              Gesellschaft f=FCr
>                                 Informationstechnologie mbH
>                              Sautierstr. 38, 79104 Freiburg
>                                      0761 55695-95 (Fax 96)
> mschulz@webgis.de                             www.webgis.de
>
>
>
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )