diff options
| author | Jan Engelhardt <[email protected]> | 2019-10-05 08:26:33 +0000 |
|---|---|---|
| committer | Jan Engelhardt <[email protected]> | 2019-10-05 09:31:51 +0000 |
| commit | 6de75f0c9599b9ce66931ff9bf47655e35d8bffa (patch) | |
| tree | 5375b3feac82192f2c2336bba5e888ca6d2cd1bd /src | |
| parent | Merge pull request #225 from 0xd34df00d/patch-1 (diff) | |
| download | vmime-6de75f0c9599b9ce66931ff9bf47655e35d8bffa.tar.gz vmime-6de75f0c9599b9ce66931ff9bf47655e35d8bffa.zip | |
Modernize RFC reference for boundary line characteristics
Diffstat (limited to 'src')
| -rw-r--r-- | src/vmime/body.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vmime/body.cpp b/src/vmime/body.cpp index 3757026d..44679390 100644 --- a/src/vmime/body.cpp +++ b/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); |
