Skip to content
Browse files

Merge pull request #38 from ftaiolivista/cc-4.0.14.2-dev

bug encoding multipart form post
  • Loading branch information...
2 parents 9f8f6e2 + 82ddc13 commit d60c80f3d24cdf6fef26a2c3065d1fae093133f4 @Kdecherf Kdecherf committed May 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 quercus/src/main/java/com/caucho/quercus/env/Post.java
View
2 quercus/src/main/java/com/caucho/quercus/env/Post.java
@@ -213,7 +213,7 @@ private static void readMultipartStream(Env env,
if (bracketIndex >= 0 && bracketIndex < name.length() - 1) {
// php/085c
} else if (filename == null) {
- StringValue value = env.createStringBuilder();
+ StringValue value = env.createBinaryBuilder();
value.appendReadAll(is, Integer.MAX_VALUE);

0 comments on commit d60c80f

Please sign in to comment.
Something went wrong with that request. Please try again.