Skip to content
Permalink
Browse files

Modernize RFC reference for boundary line characteristics

  • Loading branch information...
jengelh committed Oct 5, 2019
1 parent 7168f3c commit 6de75f0c9599b9ce66931ff9bf47655e35d8bffa
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/vmime/body.cpp
@@ -276,10 +276,10 @@ void body::parseImpl(
boundaryEnd += 2;
}

// RFC #1521, Page 31:
// "...(If a boundary appears to end with white space, the
// white space must be presumed to have been added by a
// gateway, and must be deleted.)..."
// RFC 2046 §5.1.1 page 22: """If a boundary delimiter
// line appears to end with white space, the white
// space must be presumed to have been added by a
// gateway, and must be deleted."""
parser->seek(boundaryEnd);
boundaryEnd += parser->skipIf(parserHelpers::isSpaceOrTab, end);

0 comments on commit 6de75f0

Please sign in to comment.
You can’t perform that action at this time.