summaryrefslogtreecommitdiff
path: root/bkucommon
diff options
context:
space:
mode:
Diffstat (limited to 'bkucommon')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/binding/HTTPBindingProcessorImpl.java21
1 files changed, 14 insertions, 7 deletions
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 9b0adb03..05290de2 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
@@ -761,13 +761,20 @@ public class HTTPBindingProcessorImpl extends AbstractBindingProcessor implement
}
String charset = HttpUtil.getCharset(ct, true);
assignXMLRequest(fp.getFormParameterValue(), charset);
- } else {
- FormParameterStore fps = new FormParameterStore();
- fps.init(fp);
- //if (!fps.isEmpty()) {
- log.debug("Setting form parameter: {}.", fps.getFormParameterName());
- formParameterMap.put(fps.getFormParameterName(), fps);
- //}
+ }
+ else {
+ if (fp.getFormParameterName().equals(FixedFormParameters.REDIRECTURL)
+ && formParameterMap.containsKey(FixedFormParameters.REDIRECTURL)) {
+ log.info("Not updating previously set RedirectURL!");
+ }
+ else {
+ FormParameterStore fps = new FormParameterStore();
+ fps.init(fp);
+ //if (!fps.isEmpty()) {
+ log.debug("Setting form parameter: {}.", fps.getFormParameterName());
+ formParameterMap.put(fps.getFormParameterName(), fps);
+ //}
+ }
}
}
if (slCommand == null) {