Skip to content

Commit

Permalink
multipart request: always skip boundary, fix #1220
Browse files Browse the repository at this point in the history
  • Loading branch information
sigod committed Aug 13, 2015
1 parent 6b2453e commit 83b3bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/vibe/inet/webform.d
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ private bool parseMultipartFormPart(InputStream stream, ref FormFields form, ref
import std.conv : to;
file.write(stream, (*plen).to!long);
}
else stream.readUntil(file, cast(ubyte[])boundary);
stream.readUntil(file, cast(ubyte[])boundary);
logDebug("file: %s", fp.tempPath.toString());
file.close();

Expand Down

0 comments on commit 83b3bdd

Please sign in to comment.