diff options
-rw-r--r-- | bkucommon/src/main/java/at/gv/egiz/bku/binding/FixedFormParameters.java | 3 | ||||
-rw-r--r-- | bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/binding/FixedFormParameters.java b/bkucommon/src/main/java/at/gv/egiz/bku/binding/FixedFormParameters.java index 8d67886b..0caeb199 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/binding/FixedFormParameters.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/binding/FixedFormParameters.java @@ -30,7 +30,8 @@ package at.gv.egiz.bku.binding; */
public interface FixedFormParameters {
String XMLREQUEST = "XMLRequest";
- String REDIRECTURL = "RedirectURL";
+ String REDIRECTURL = "RedirectURL"; + String REDIRECTTARGET = "redirectTarget"; String DATAURL = "DataURL";
String STYLESHEETURL = "StylesheetURL";
}
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java index 0c637d72..4951bf02 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java @@ -810,9 +810,12 @@ public class HTTPBindingProcessorImpl extends AbstractBindingProcessor implement srcContex.setSourceIsDataURL(false); log.debug("Start consuming request stream."); FormParameter redirectURL = formParameterMap.get(FixedFormParameters.REDIRECTURL); + FormParameter redirectTarget = formParameterMap.get(FixedFormParameters.REDIRECTTARGET); formParameterMap.clear(); if (redirectURL != null) formParameterMap.put(FixedFormParameters.REDIRECTURL, redirectURL); + if (redirectTarget != null) + formParameterMap.put(FixedFormParameters.REDIRECTTARGET, redirectTarget); String ct = headerMap .get(HttpUtil.HTTP_HEADER_CONTENT_TYPE.toLowerCase()); if (ct == null) { |