summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/cyrus-imapd/files/kolab/2.3.13/folder-names.patch')
-rw-r--r--net-mail/cyrus-imapd/files/kolab/2.3.13/folder-names.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-mail/cyrus-imapd/files/kolab/2.3.13/folder-names.patch b/net-mail/cyrus-imapd/files/kolab/2.3.13/folder-names.patch
new file mode 100644
index 000000000000..2f8689ae4ed4
--- /dev/null
+++ b/net-mail/cyrus-imapd/files/kolab/2.3.13/folder-names.patch
@@ -0,0 +1,17 @@
+Modifies the set of accepted characters in folder names for the cyrus imapd server [Version: 2.3.9]
+
+diff -r 17e54b46d7b6 imap/mboxname.c
+--- a/imap/mboxname.c Mon Oct 27 18:44:56 2008 +0100
++++ b/imap/mboxname.c Mon Oct 27 18:47:11 2008 +0100
+@@ -713,8 +713,10 @@
+ /*
+ * Apply site policy restrictions on mailbox names.
+ * Restrictions are hardwired for now.
++ * original definition
++#define GOODCHARS " #$'+,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~"
+ */
+-#define GOODCHARS " #$'+,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~"
++#define GOODCHARS " #$%'()*+,-.0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~"
+ int mboxname_policycheck(char *name)
+ {
+ unsigned i;