source:
npl/overig/libvmime/vmime-0.9.2-phf-stop-on-whitespace.diff
@
c5c522c
Last change on this file since c5c522c was c5c522c, checked in by , 8 years ago | |
---|---|
|
|
File size: 841 bytes |
-
src/parameterizedHeaderField.cpp
diff -Nurb libvmime-0.9.2.orig/src/parameterizedHeaderField.cpp libvmime-0.9.2.patched/src/parameterizedHeaderField.cpp
old new 97 97 // Advance up to ';', if any 98 98 string::size_type valueLength = 0; 99 99 100 while (p < pend && *p != ';' ) // FIXME: support ";" inside quoted or RFC-2047-encoded text100 while (p < pend && *p != ';' && (!parserHelpers::isSpace(*p))) // FIXME: support ";" inside quoted or RFC-2047-encoded text 101 101 { 102 102 ++p; 103 103 ++valueLength; … … 118 118 { 119 119 std::map <string, paramInfo> params; 120 120 121 if (*p != ';') 122 while (p < pend && *p != ';') // FIXME: support ";" inside quoted or RFC-2047-encoded text 123 ++p; 124 121 125 while (*p == ';') 122 126 { 123 127 // Skip ';'
Note: See TracBrowser
for help on using the repository browser.