diff --git a/src/helma/framework/RequestTrans.java b/src/helma/framework/RequestTrans.java index e7c31b49..9c356c04 100644 --- a/src/helma/framework/RequestTrans.java +++ b/src/helma/framework/RequestTrans.java @@ -62,7 +62,8 @@ public class RequestTrans implements Serializable { // the map of form and cookie data private final Map values = new DataComboMap(); - private Map params, queryParams, postParams, cookies; + private ParamComboMap params; + private ParameterMap queryParams, postParams, cookies; // the HTTP request method private String method; @@ -243,7 +244,7 @@ public class RequestTrans implements Serializable { if (postParams == null) { postParams = new ParameterMap(); } - Object previous = postParams.get(name); + Object previous = postParams.getRaw(name); if (previous instanceof Object[]) { Object[] array = (Object[]) previous; Object[] values = new Object[array.length + 1]; @@ -645,6 +646,10 @@ public class RequestTrans implements Serializable { } return super.get(key); } + + protected Object getRaw(Object key) { + return super.get(key); + } } class DataComboMap extends SystemMap {