[Zope] url_quote_plus inside of RESPONSE.redirect
Thu, 27 Jun 2002 21:49:44 +0200
you can use url_quote_plus from a python script:
from Products.PythonScripts.standard import url_quote_plus
see zope api
how to use that from DTML? i don=B4t know...
Sven Rudolph wrote:
> Hello all
> I have a variable called "query" which contains a search query.
> For example:"m=E4=DFig Gen=FCgsam" (with german special characters ;-)
> <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".
> Thanks in advance for any help