docker-offlineimap/offlineimap
Sebastian Spaeth eb04036da5 Make folders containing quotes work
imaputil.imapsplit did not cope with strings that contained encoded
quotation marks, e.g. a folder name '"Make" Magazine' would fail and
crash OfflineImap. Make it work by adapting the regex that we use to
extract the first quote to also work with encoded \" quotes. (We do no
sanity checks that there is an even number of such marks within a string
though)

This commit makes such folders work. This was reported and analyzed by
Mark Eichin.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>

Conflicts:

	Changelog.draft.rst
2012-01-20 11:07:33 +01:00
..
folder Use modern "with open() as file" 2012-01-19 12:03:03 +01:00
repository Don't fail if /etc/netrc is not readable 2012-01-09 16:39:12 +01:00
ui Rename folder.getsaveduidvalidity(), folder.getuidvalidity() 2012-01-19 12:03:03 +01:00
__init__.py Release v6.5.2 2012-01-17 01:40:12 +01:00
accounts.py Tweak code documentation 2012-01-19 12:03:03 +01:00
CustomConfig.py Remove deprecated calls to apply() 2011-09-27 13:00:12 +02:00
error.py Introduce new error level FOLDER_RETRY 2011-09-06 19:00:21 +02:00
imaplib2.py Bump bundled imaplib2 to 2.29 2011-11-02 10:55:42 +01:00
imaplibutil.py Allow to pass 'force' arg to selectro() to enforce a new select 2012-01-08 11:29:54 +01:00
imapserver.py Remove from __future__ import with_statements 2012-01-06 23:13:55 +01:00
imaputil.py Make folders containing quotes work 2012-01-20 11:07:33 +01:00
init.py Disable old global lock system 2012-01-06 23:54:28 +01:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py explicitly define symbols to import instead of 'import *' 2011-05-09 22:43:03 +02:00
syncmaster.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00
threadutil.py Exit "infinite" monitorloop when SyncRunner thread exits 2011-11-02 11:55:05 +01:00