2012-10-04 [colin] 3.8.1cvs84
authorColin Leroy <colin@colino.net>
Thu, 4 Oct 2012 10:00:29 +0000 (10:00 +0000)
committerColin Leroy <colin@colino.net>
Thu, 4 Oct 2012 10:00:29 +0000 (10:00 +0000)
* src/imap.c
Fix keywords with spaces

ChangeLog
PATCHSETS
configure.ac
src/imap.c

index 0bbb6a5..dc4ab23 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-04 [colin]     3.8.1cvs84
+
+       * src/imap.c
+               Fix keywords with spaces
+
 2012-10-04 [colin]     3.8.1cvs83
 
        * src/advsearch.c
index d8db235..72aad7e 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.4 -r 1.1.2.5 src/advsearch.c;  cvs diff -u -r 1.179.2.265 -r 1.179.2.266 src/imap.c;  ) > 3.8.1cvs81.patchset
 ( cvs diff -u -r 1.49.2.152 -r 1.49.2.153 src/procmime.c;  ) > 3.8.1cvs82.patchset
 ( cvs diff -u -r 1.1.2.5 -r 1.1.2.6 src/advsearch.c;  ) > 3.8.1cvs83.patchset
+( cvs diff -u -r 1.179.2.266 -r 1.179.2.267 src/imap.c;  ) > 3.8.1cvs84.patchset
index c851844..c5f34e5 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=83
+EXTRA_VERSION=84
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 2f1a287..bb15d81 100644 (file)
@@ -2087,7 +2087,11 @@ static IMAPSearchKey* search_make_key(MatcherProp* match, gboolean* is_all)
                        break;
 
                case MATCHCRITERIA_TAG:
-                       result = imap_search_new(IMAP_SEARCH_CRITERIA_TAG, NULL, match->expr, 0);
+                       {
+                               gchar *tmp = imap_utf8_to_modified_utf7(match->expr, TRUE);
+                               result = imap_search_new(IMAP_SEARCH_CRITERIA_TAG, NULL, tmp, 0);
+                               g_free(tmp);
+                       }
                        break;
 
                case MATCHCRITERIA_SUBJECT: