[Zope] RESPONSE.redirect(to a subanchor#everything behind disappears)

Hannes Wyss hwyss@ywesee.com
Wed, 19 Sep 2001 09:42:22 +0200


Hi everybody

For a form-evaluation i want to redirect the user back to the form in=20
case there is input missing.

this is what I try:

<pre>
<dtml-call "RESPONSE.redirect('some_url?foo=3Dsome&bar=3Dvars#subanchor')"=
>
</pre>

and this is what i get:
some_url?foo=3Dsome&bar=3Dvars

annoying! I have concluded (knowing very little about Python), that=20
somewhere within the Python-Part of the redirect method the tail of my=20=

url is interpreted as a comment. The Python documentation states, that #=20=

is indeed the start of a comment, unless it is part of a string literal.

I would greatly appreciate any clues how to circumvent this problem...

thanks in advance!

--
mit freundlichen Gr=FCssen / best regards

Hannes Wyss
Konzeption & Entwicklung

+41 1 350 85 86

www.ywesee.com > intellectual capital connected > www.nachahmer.ch