gcc484perl-5.22
|
Last change
on this file since b0e8ab6 was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 9 years ago
|
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100644
|
|
File size:
841 bytes
|
| Rev | Line | |
|---|
| [c5c522c] | 1 | diff -Nurb libvmime-0.9.2.orig/src/parameterizedHeaderField.cpp libvmime-0.9.2.patched/src/parameterizedHeaderField.cpp |
|---|
| 2 | --- libvmime-0.9.2.orig/src/parameterizedHeaderField.cpp (revision 603) |
|---|
| 3 | +++ libvmime-0.9.2.patched/src/parameterizedHeaderField.cpp (working copy) |
|---|
| 4 | @@ -97,7 +97,7 @@ |
|---|
| 5 | // Advance up to ';', if any |
|---|
| 6 | string::size_type valueLength = 0; |
|---|
| 7 | |
|---|
| 8 | - while (p < pend && *p != ';') // FIXME: support ";" inside quoted or RFC-2047-encoded text |
|---|
| 9 | + while (p < pend && *p != ';' && (!parserHelpers::isSpace(*p))) // FIXME: support ";" inside quoted or RFC-2047-encoded text |
|---|
| 10 | { |
|---|
| 11 | ++p; |
|---|
| 12 | ++valueLength; |
|---|
| 13 | @@ -118,6 +118,10 @@ |
|---|
| 14 | { |
|---|
| 15 | std::map <string, paramInfo> params; |
|---|
| 16 | |
|---|
| 17 | + if (*p != ';') |
|---|
| 18 | + while (p < pend && *p != ';') // FIXME: support ";" inside quoted or RFC-2047-encoded text |
|---|
| 19 | + ++p; |
|---|
| 20 | + |
|---|
| 21 | while (*p == ';') |
|---|
| 22 | { |
|---|
| 23 | // Skip ';' |
|---|
Note: See
TracBrowser
for help on using the repository browser.