Modernize RFC reference for boundary line characteristics
This commit is contained in:
parent
7168f3c4ee
commit
6de75f0c95
@ -276,10 +276,10 @@ void body::parseImpl(
|
|||||||
boundaryEnd += 2;
|
boundaryEnd += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
// RFC #1521, Page 31:
|
// RFC 2046 §5.1.1 page 22: """If a boundary delimiter
|
||||||
// "...(If a boundary appears to end with white space, the
|
// line appears to end with white space, the white
|
||||||
// white space must be presumed to have been added by a
|
// space must be presumed to have been added by a
|
||||||
// gateway, and must be deleted.)..."
|
// gateway, and must be deleted."""
|
||||||
parser->seek(boundaryEnd);
|
parser->seek(boundaryEnd);
|
||||||
boundaryEnd += parser->skipIf(parserHelpers::isSpaceOrTab, end);
|
boundaryEnd += parser->skipIf(parserHelpers::isSpaceOrTab, end);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user