aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xfetchmailconf.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 14ebc107..af27ede1 100644
--- a/NEWS
+++ b/NEWS
@@ -75,6 +75,8 @@ fetchmail 6.3.9 (not yet released):
* Allow .fetchmailrc and .fetchids to be symlinks, as the manpage does not
document they aren't allowed - fixes Debian Bug #452907 (Roger Leigh).
TOCTOU race persists.
+* fetchmailconf quotes mailbox (folder) names when writing the configuration.
+ Fixes BerliOS Bug #13207 (reported + fix suggested by Terry Brown).
# CHANGES:
* Removed dead FETCHMAIL_DEBUG code from fetchmail.h that was disabled by
diff --git a/fetchmailconf.py b/fetchmailconf.py
index 41c4d398..3c7f5c38 100755
--- a/fetchmailconf.py
+++ b/fetchmailconf.py
@@ -5,7 +5,7 @@
# Matthias Andree <matthias.andree@gmx.de>
# Requires Python with Tkinter, and the following OS-dependent services:
# posix, posixpath, socket
-version = "1.52 $Revision$"
+version = "1.53 $Revision$"
from Tkinter import *
from Dialog import *
@@ -397,7 +397,7 @@ class User:
if self.mailboxes:
res = res + " folder"
for x in self.mailboxes:
- res = res + " " + x
+ res = res + ' "%s"' % x
res = res + "\n"
for fld in ('smtpaddress', 'preconnect', 'postconnect', 'mda', 'bsmtp', 'properties'):
if getattr(self, fld):