You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Palod, Manish" <ma...@intel.com> on 2016/03/24 07:18:19 UTC

response.sendRedirect is not working in application after upgrade from 7.0.65 to 7.0.67

Hello Experts,
We are using tomcat in our application from many years and things were working fine.

After upgrade from tomcat 7.0.65 to 7.0.67, response.sendRedirect is not working properly in application.

We are having spaces in between url attributes all the time ex. companyName=XYZ Inc&Address=ABC Road etc. and didn't face any issues.

We are encoding the URL's using "response.encodeURL" before passing url param to response.sendRedirect

After upgrade to .67, sendRedirect started failing, hence I tried changing url encoding using "response.encodeRedirectURL", still redirection didn't work

is this the known issue?
is there any work around for this?

Thanks
Manish


Re: response.sendRedirect is not working in application after upgrade from 7.0.65 to 7.0.67

Posted by Violeta Georgieva <mi...@gmail.com>.
Hi,

2016-03-29 12:23 GMT+03:00 Utkarsh Dave <ut...@gmail.com>:
>
> HiVioleta,
> Our application has a very similar problem after upgrade to tomcat
7.0.67/68
> and it seems space in between url attributes was the issue while using
> response.sendRedirect.
> Currently we have hold off the upgrade until all web application teams
find
> the affected pages and rectify there code.
>
> I heard (above) this will be fixed in 7.0.69 ?
> Is that the case? and is there an (rough) estimate of the release
> date/month of 69 release
>

I was thinking about preparing Tomcat 7.0.69 for voting next week.
Please note that this is not final.

Regards,
Violeta

>
> On Thu, Mar 24, 2016 at 12:58 PM, Violeta Georgieva <mi...@gmail.com>
> wrote:
>
> > 2016-03-24 9:11 GMT+02:00 Palod, Manish <ma...@intel.com>:
> > >
> > > Hi Violeta,
> > > We have tried 7.0.68 also, but same issue.
> >
> > OK
> >
> > We have a fix for something similar
> > http://svn.apache.org/viewvc?view=revision&revision=1734262
> >
> > The fix will be available in 7.0.69
> > Can you build Tomcat 7 trunk and test your scenario?
> >
> > Thanks,
> > Violeta
> >
> > > Regards
> > > Manish
> > > -----Original Message-----
> > > From: Violeta Georgieva [mailto:milesg78@gmail.com]
> > > Sent: Thursday, March 24, 2016 12:36 PM
> > > To: Tomcat Users List <us...@tomcat.apache.org>
> > > Subject: Re: response.sendRedirect is not working in application after
> > upgrade from 7.0.65 to 7.0.67
> > >
> > > Hi,
> > >
> > > 2016-03-24 8:18 GMT+02:00 Palod, Manish <ma...@intel.com>:
> > > >
> > > > Hello Experts,
> > > > We are using tomcat in our application from many years and things
were
> > > working fine.
> > > >
> > > > After upgrade from tomcat 7.0.65 to 7.0.67, response.sendRedirect is
> > > > not
> > > working properly in application.
> > > >
> > > > We are having spaces in between url attributes all the time ex.
> > > companyName=XYZ Inc&Address=ABC Road etc. and didn't face any issues.
> > > >
> > > > We are encoding the URL's using "response.encodeURL" before passing
> > > > url
> > > param to response.sendRedirect
> > > >
> > > > After upgrade to .67, sendRedirect started failing, hence I tried
> > > changing url encoding using "response.encodeRedirectURL", still
> > redirection didn't work
> > > >
> > > > is this the known issue?
> > > > is there any work around for this?
> > > >
> > >
> > > Please try 7.0.68
> > > This is the last released Tomcat 7 version.
> > >
> > > Regards,
> > > Violeta
> > >
> > > > Thanks
> > > > Manish
> > > >
> >

Re: response.sendRedirect is not working in application after upgrade from 7.0.65 to 7.0.67

Posted by Utkarsh Dave <ut...@gmail.com>.
HiVioleta,
Our application has a very similar problem after upgrade to tomcat 7.0.67/68
and it seems space in between url attributes was the issue while using
response.sendRedirect.
Currently we have hold off the upgrade until all web application teams find
the affected pages and rectify there code.

I heard (above) this will be fixed in 7.0.69 ?
Is that the case? and is there an (rough) estimate of the release
date/month of 69 release


On Thu, Mar 24, 2016 at 12:58 PM, Violeta Georgieva <mi...@gmail.com>
wrote:

> 2016-03-24 9:11 GMT+02:00 Palod, Manish <ma...@intel.com>:
> >
> > Hi Violeta,
> > We have tried 7.0.68 also, but same issue.
>
> OK
>
> We have a fix for something similar
> http://svn.apache.org/viewvc?view=revision&revision=1734262
>
> The fix will be available in 7.0.69
> Can you build Tomcat 7 trunk and test your scenario?
>
> Thanks,
> Violeta
>
> > Regards
> > Manish
> > -----Original Message-----
> > From: Violeta Georgieva [mailto:milesg78@gmail.com]
> > Sent: Thursday, March 24, 2016 12:36 PM
> > To: Tomcat Users List <us...@tomcat.apache.org>
> > Subject: Re: response.sendRedirect is not working in application after
> upgrade from 7.0.65 to 7.0.67
> >
> > Hi,
> >
> > 2016-03-24 8:18 GMT+02:00 Palod, Manish <ma...@intel.com>:
> > >
> > > Hello Experts,
> > > We are using tomcat in our application from many years and things were
> > working fine.
> > >
> > > After upgrade from tomcat 7.0.65 to 7.0.67, response.sendRedirect is
> > > not
> > working properly in application.
> > >
> > > We are having spaces in between url attributes all the time ex.
> > companyName=XYZ Inc&Address=ABC Road etc. and didn't face any issues.
> > >
> > > We are encoding the URL's using "response.encodeURL" before passing
> > > url
> > param to response.sendRedirect
> > >
> > > After upgrade to .67, sendRedirect started failing, hence I tried
> > changing url encoding using "response.encodeRedirectURL", still
> redirection didn't work
> > >
> > > is this the known issue?
> > > is there any work around for this?
> > >
> >
> > Please try 7.0.68
> > This is the last released Tomcat 7 version.
> >
> > Regards,
> > Violeta
> >
> > > Thanks
> > > Manish
> > >
>

Re: response.sendRedirect is not working in application after upgrade from 7.0.65 to 7.0.67

Posted by Violeta Georgieva <mi...@gmail.com>.
2016-03-24 9:11 GMT+02:00 Palod, Manish <ma...@intel.com>:
>
> Hi Violeta,
> We have tried 7.0.68 also, but same issue.

OK

We have a fix for something similar
http://svn.apache.org/viewvc?view=revision&revision=1734262

The fix will be available in 7.0.69
Can you build Tomcat 7 trunk and test your scenario?

Thanks,
Violeta

> Regards
> Manish
> -----Original Message-----
> From: Violeta Georgieva [mailto:milesg78@gmail.com]
> Sent: Thursday, March 24, 2016 12:36 PM
> To: Tomcat Users List <us...@tomcat.apache.org>
> Subject: Re: response.sendRedirect is not working in application after
upgrade from 7.0.65 to 7.0.67
>
> Hi,
>
> 2016-03-24 8:18 GMT+02:00 Palod, Manish <ma...@intel.com>:
> >
> > Hello Experts,
> > We are using tomcat in our application from many years and things were
> working fine.
> >
> > After upgrade from tomcat 7.0.65 to 7.0.67, response.sendRedirect is
> > not
> working properly in application.
> >
> > We are having spaces in between url attributes all the time ex.
> companyName=XYZ Inc&Address=ABC Road etc. and didn't face any issues.
> >
> > We are encoding the URL's using "response.encodeURL" before passing
> > url
> param to response.sendRedirect
> >
> > After upgrade to .67, sendRedirect started failing, hence I tried
> changing url encoding using "response.encodeRedirectURL", still
redirection didn't work
> >
> > is this the known issue?
> > is there any work around for this?
> >
>
> Please try 7.0.68
> This is the last released Tomcat 7 version.
>
> Regards,
> Violeta
>
> > Thanks
> > Manish
> >

RE: response.sendRedirect is not working in application after upgrade from 7.0.65 to 7.0.67

Posted by "Palod, Manish" <ma...@intel.com>.
Hi Violeta,
We have tried 7.0.68 also, but same issue.

Regards
Manish
-----Original Message-----
From: Violeta Georgieva [mailto:milesg78@gmail.com] 
Sent: Thursday, March 24, 2016 12:36 PM
To: Tomcat Users List <us...@tomcat.apache.org>
Subject: Re: response.sendRedirect is not working in application after upgrade from 7.0.65 to 7.0.67

Hi,

2016-03-24 8:18 GMT+02:00 Palod, Manish <ma...@intel.com>:
>
> Hello Experts,
> We are using tomcat in our application from many years and things were
working fine.
>
> After upgrade from tomcat 7.0.65 to 7.0.67, response.sendRedirect is 
> not
working properly in application.
>
> We are having spaces in between url attributes all the time ex.
companyName=XYZ Inc&Address=ABC Road etc. and didn't face any issues.
>
> We are encoding the URL's using "response.encodeURL" before passing 
> url
param to response.sendRedirect
>
> After upgrade to .67, sendRedirect started failing, hence I tried
changing url encoding using "response.encodeRedirectURL", still redirection didn't work
>
> is this the known issue?
> is there any work around for this?
>

Please try 7.0.68
This is the last released Tomcat 7 version.

Regards,
Violeta

> Thanks
> Manish
>

Re: response.sendRedirect is not working in application after upgrade from 7.0.65 to 7.0.67

Posted by Violeta Georgieva <mi...@gmail.com>.
Hi,

2016-03-24 8:18 GMT+02:00 Palod, Manish <ma...@intel.com>:
>
> Hello Experts,
> We are using tomcat in our application from many years and things were
working fine.
>
> After upgrade from tomcat 7.0.65 to 7.0.67, response.sendRedirect is not
working properly in application.
>
> We are having spaces in between url attributes all the time ex.
companyName=XYZ Inc&Address=ABC Road etc. and didn't face any issues.
>
> We are encoding the URL's using "response.encodeURL" before passing url
param to response.sendRedirect
>
> After upgrade to .67, sendRedirect started failing, hence I tried
changing url encoding using "response.encodeRedirectURL", still redirection
didn't work
>
> is this the known issue?
> is there any work around for this?
>

Please try 7.0.68
This is the last released Tomcat 7 version.

Regards,
Violeta

> Thanks
> Manish
>