docker-offlineimap/offlineimap/folder
Eygene Ryabinkin 3a807d0f2b Create filenames with no path separators in them
We use current hostname as the element of the unique file name.
Sometimes there is non-/24 zone delegation,
{{{
$ host 144.206.233.65
65.233.206.144.in-addr.arpa is an alias for 65.26/64.233.206.144.in-addr.arpa.
}}}
as per RFC 2317,
  https://www.rfc-editor.org/rfc/rfc2317.txt

So on Un*x systems we may run into having path separator inside
the file name.  Not good, things will choke.  Prevented this
by substituting all appeared path separators in the return value.

Signed-off-by: Eygene Ryabinkin <rea@codelabs.ru>
Tested-at: my MacOSX instance, my FreeBSD instances
2018-04-09 20:09:56 +03:00
..
__init__.py IMAP/IMAP: fix import issue about UIDMaps 2016-07-25 05:26:57 +02:00
Base.py minor code refactoring 2016-11-07 23:03:40 +01:00
Gmail.py utf8foldernames: fix missing decode argument 2017-10-29 00:45:32 +02:00
GmailMaildir.py GmailMaildir: don't add a tuple to syncmessagesto_passes 2016-07-27 16:29:34 +02:00
IMAP.py folder: IMAP: improve search logging 2017-12-22 15:13:51 +01:00
LocalStatus.py Add missing space to output string 2017-11-26 18:05:10 +01:00
LocalStatusSQLite.py sqlite: provide better message error for insert 2017-07-25 11:28:56 +02:00
Maildir.py Create filenames with no path separators in them 2018-04-09 20:09:56 +03:00
UIDMaps.py utf8: implement utf8foldernames option 2017-10-02 21:09:43 +02:00