changeset 4195:93b53eaee401

Don't forget context path for redirect url If flys is installed in a subpath of a domain (e.g. http://flys.org/myflys/) the redirect url must contain also the subath.
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 22 Oct 2012 10:32:09 +0200
parents 17fe00c09b7c
children e10d60d4f35b
files flys-client/src/main/java/de/intevation/flys/client/server/GGInAFilter.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/server/GGInAFilter.java	Mon Oct 22 09:51:12 2012 +0200
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/GGInAFilter.java	Mon Oct 22 10:32:09 2012 +0200
@@ -99,7 +99,7 @@
 
         HttpSession session = sreq.getSession();
 
-        String uri = "/" + this.redirecturl;
+        String uri = path + "/" + this.redirecturl;
 
         if (sreq.getQueryString() != null) {
             uri = uri + "?" + sreq.getQueryString();

http://dive4elements.wald.intevation.org