[Zope-dev] Zope-Bug affecting my url_quoting (bug in getattr?)
Jan-Oliver Wagner
jan@intevation.de
Wed, 8 Aug 2001 16:48:24 +0200
Hi Dieter, all,
> > Manually using capital letters for the url quoting will work (ie. here
> > just '%F5es' at the end of the above URL.
> >
> > Apparantly the %f is substituted by someone by the filename
> > (getattr already delivers this error).
On Tue, Aug 07, 2001 at 10:43:51PM +0200, Dieter Maurer wrote:
> I am sure, "getattr" returns the value that is in "REQUEST"
> without substituting "%f" -- it did when I tried to
> reproduce your problem!
> Maybe, you display "REQUEST" before mangling:
>
> <dtml-var REQUEST>
> <dtml-var unquote>
> <dtml-var REQUEST>
I found the problem, finally.
Even a document as simple as
<dtml-var REQUEST>
showed the strange substitution and I thought it must
happen somewhere very deep.
It was very deep - actually the error is caused still
before Zope reveives the URL: In my web-server.
So this is for the archive:
If you are using Caudium (as I do) or Roxen Challenger
the redirect patterns are buggy. %f is substituted silently
there.
A bug-report is submitted to Caudium, the Roxen people
require registration for bug reports, so they will not
receive one.
> Why do you want to unquote anyway?
> Zope already did it for you! Dangerous to do it a second time!
Does it?
http://freegis.org/quote_test?my_var=%f5
shows no unquote in the REQUEST.
Jan
--
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/