ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | June 2004 Index

<--  Date Index  --> <--  Thread Index  -->

doubled query values (was Re: Enhydra: POST request loosing data with incomplete URL)


V St, 30. 10. 2002 v 14:10, Petr Stehlik píše:
> On Út, 2002-10-29 at 16:36, Petr Stehlik wrote:

in October 2002 I suggested to replace ClientPageRedirectException with
ServerPageRedirectException in the
StandardApplication.requestPreprocessor() that does the remaping from
incomplete "path/" to "path/DefaultUrl.po".

I wrote at that time:

> It solves the problem with losing POST data and works
> equally well for GET requests:

My patch was later accepted as I see the ServerPageRedirect in the
latest Enhydra source code.

However, I have just found out (just = two days of debugging) that this
ServerPageRedirect _doubles_ the parameter values when you read them
with getParameterValues(). Example:

www.server.com/?param=value

getParameterValues("param") returns String[2] = {"value", "value"}

I have yet to trace it down (which is complicated because I can't get
JBuilder to trace into Enhydra source code today) but it's serious
enough so I though I'd tell you about it immediately.

I suspect either the ServerPageRedirect or the Tomcat's URL parsing to
be faulty. Will let you know when I find out more.

Petr





<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.