Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 31ecce0c0ebcadf0affc24c618d812b2 > files > 2

libvmime07-0.7.1-3.fc14.src.rpm

Patch by Zarafa <http://www.zarafa.com/> - fixes RFC 2047 (http://tools.ietf.org/html/rfc2047) encoded
fullname parsing. All addresses after a wrongly parsed address were not recognized anymore. 

--- libvmime-0.7.1/src/address.cpp					2005-03-18 22:26:46.000000000 +0100
+++ libvmime-0.7.1/src/address.cpp.address-parse-encoded		2010-05-09 22:20:53.000000000 +0200
@@ -103,7 +103,7 @@
 				break;
 			case '=':
 
-				if (pos + 1 < end && buffer[pos + 1] == '?')
+				if (!quotedRFC2047 && pos + 1 < end && buffer[pos + 1] == '?')
 				{
 					++pos;
 					quotedRFC2047 = true;