Repository: wicket
Updated Branches:
  refs/heads/wicket-1.5.x 18787f8ba -> fb1f57f4d


WICKET-5714 MockHttpServletRequest.buildRequest() should work for parameters 
with multiple values with multipart content type


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/fb1f57f4
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/fb1f57f4
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/fb1f57f4

Branch: refs/heads/wicket-1.5.x
Commit: fb1f57f4d2be9534580b3a8e54ce98eb07adf77f
Parents: 18787f8
Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Authored: Thu Oct 2 15:14:55 2014 +0200
Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Committed: Thu Oct 2 15:14:55 2014 +0200

----------------------------------------------------------------------
 .../apache/wicket/protocol/http/mock/MockHttpServletRequest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/fb1f57f4/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockHttpServletRequest.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockHttpServletRequest.java
 
b/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockHttpServletRequest.java
index 79ee45d..62c038d 100755
--- 
a/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockHttpServletRequest.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/protocol/http/mock/MockHttpServletRequest.java
@@ -1581,7 +1581,7 @@ public class MockHttpServletRequest implements 
HttpServletRequest
                                        out.write("\"".getBytes());
                                        out.write(crlf.getBytes());
                                        out.write(crlf.getBytes());
-                                       
out.write(post.getParameterValue(parameterName).toString().getBytes());
+                                       out.write(value.toString().getBytes());
                                        out.write(crlf.getBytes());
                                }
                        }

Reply via email to