From 15b93aaa59adee835554ab02ed09aba3de315d54 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 22 Feb 2007 14:26:10 +0000 Subject: [PATCH] Fixed bad parsing of RFC-2047 quoting. --- src/address.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/address.cpp b/src/address.cpp index 25352321..5b07535c 100644 --- a/src/address.cpp +++ b/src/address.cpp @@ -107,7 +107,7 @@ ref
address::parseNext(const string& buffer, const string::size_type p break; case '=': - if (pos + 1 < end && buffer[pos + 1] == '?') + if (!quoted && !quotedRFC2047 && pos + 1 < end && buffer[pos + 1] == '?') { ++pos; quotedRFC2047 = true;