[Zope] url_quote_plus inside of RESPONSE.redirect

Sven Rudolph rudolph@medical-tribune.de
Thu, 27 Jun 2002 21:54:41 +0200


Hello all

I have a variable called "query" which contains a search query.
For example:"m=E4=DFig Gen=FCgsam" (with german special characters ;-)

With
<dtml-var query url_quote_plus>
I can use it inside of an anchor tag like this:
<a href=3D"/MyZCatalog/report?query=3D<dtml-var query url_quote_plus>">

But how do I get url_quote_plus in this case?
<dtml-call "RESPONSE.redirect('/MyZCatalog/report?query=3D'+query)">

In this case no special characters are "url_quoted".

I know I could use javascript here, but I want to avoid this.

Thanks in advance for any help

Sven


--=20
Sven Rudolph, Programmierer
GermanMedicalServices.de GmbH
Unter den Eichen 5, 65195 Wiesbaden
Tel.: 06 11 / 97 46 25 2