[Zope] Strange issues at string operations with request variables

Subhendu Kumar Giri subhendu.giri at oneworld.net
Thu Jan 5 05:11:58 UTC 2012

Hi Lukesh,

It is possible through apache |RewriteEngine.


Hi all,
I have discovered strange issues with all request variables. Here are 
examples only, but I was try all useable variables in the REQUEST.
I want to use redirect to another server with same relative link, but 
different domain,some like that:
<dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
<dtml-call expr="RESPONSE.redirect(_.str(redirect_URL), status=301)">
It does not work even if I make obstructions for request variables like 
_.str(), _[''] etc.
In cases below variable 'redirect_URL' seems OK, but redirect goes into 
<dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
<dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com' + 
<dtml-call "REQUEST.set('redirect_URL', 'http://www.otherdomain.com')">
In cases below variable 'redirect_URL' = 'h'.
<dtml-call "REQUEST.set('redirect_URL', 
<dtml-call "REQUEST.set('redirect_URL', 
I was try different (very old) Zope, but result is the same.
It is possible my uncorrect handle with request variables, but how to 
handle correct with them?
Many thanks,
J. Lukesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zope/attachments/20120105/446191e9/attachment.html>

More information about the Zope mailing list