Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/GGInAFilter.java @ 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 |
comparison
equal
deleted
inserted
replaced
4194:17fe00c09b7c | 4195:93b53eaee401 |
---|---|
97 return; | 97 return; |
98 } | 98 } |
99 | 99 |
100 HttpSession session = sreq.getSession(); | 100 HttpSession session = sreq.getSession(); |
101 | 101 |
102 String uri = "/" + this.redirecturl; | 102 String uri = path + "/" + this.redirecturl; |
103 | 103 |
104 if (sreq.getQueryString() != null) { | 104 if (sreq.getQueryString() != null) { |
105 uri = uri + "?" + sreq.getQueryString(); | 105 uri = uri + "?" + sreq.getQueryString(); |
106 } | 106 } |
107 session.setAttribute("requesturi", uri); | 107 session.setAttribute("requesturi", uri); |