8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1dcfd4 commit 250decdCopy full SHA for 250decd
src/HTTPMultipartBodyParser.cpp
@@ -26,8 +26,7 @@ HTTPMultipartBodyParser::HTTPMultipartBodyParser(HTTPRequest * req):
26
discardBody();
27
return;
28
}
29
- //TODO: remove all magic constants
30
- boundary = contentType.substr(boundaryIndex + 9);
+ boundary = contentType.substr(boundaryIndex + 9); // "boundary="
31
auto commaIndex = boundary.find(';');
32
boundary = "--" + boundary.substr(0, commaIndex);
33
if(boundary.size() > 72) {
0 commit comments