]> source.dussan.org Git - vaadin-framework.git/commitdiff
Terminate reading the multipart request propertly if file is not the last field ...
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 23 Jun 2011 21:08:48 +0000 (21:08 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Thu, 23 Jun 2011 21:08:48 +0000 (21:08 +0000)
svn changeset:19539/svn branch:6.6

src/com/vaadin/terminal/gwt/server/AbstractCommunicationManager.java

index 74b7a27a9652aff3126d6b462f746820724b6430..27416186f33108d370174ada304af232201f762d 100644 (file)
@@ -2193,7 +2193,7 @@ public abstract class AbstractCommunicationManager implements
 
         public SimpleMultiPartInputStream(InputStream realInputStream,
                 String boundaryString) {
-            boundary = (CRLF + DASHDASH + boundaryString + DASHDASH)
+            boundary = (CRLF + DASHDASH + boundaryString)
                     .toCharArray();
             this.realInputStream = realInputStream;
         }