Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 61664 Details for
Bug 96728
Kolab use flag for cyrus-imapd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Kolab patch #2 for cyrus-imapd
cyrus-imapd-2.2.12-goodchars.patch (text/plain), 1.83 KB, created by
Gunnar Wrobel (RETIRED)
on 2005-06-21 13:39:29 UTC
(
hide
)
Description:
Kolab patch #2 for cyrus-imapd
Filename:
MIME Type:
Creator:
Gunnar Wrobel (RETIRED)
Created:
2005-06-21 13:39:29 UTC
Size:
1.83 KB
patch
obsolete
>diff -upr ../cyrus-imapd-2.2.12.orig/imap/imapd.c ./imap/imapd.c >--- ../cyrus-imapd-2.2.12.orig/imap/imapd.c 2005-02-14 07:39:55.000000000 +0100 >+++ ./imap/imapd.c 2005-04-21 00:59:50.865255448 +0200 >@@ -3923,10 +3923,12 @@ void cmd_rename(const char *tag, > } > } > >+#ifdef notdef > /* verify that the mailbox doesn't have a wildcard in it */ > for (p = oldmailboxname; !r && *p; p++) { > if (*p == '*' || *p == '%') r = IMAP_MAILBOX_BADNAME; > } >+#endif > > /* attempt to rename the base mailbox */ > if (!r) { >Kun i ./imap: imapd.c.orig >diff -upr ../cyrus-imapd-2.2.12.orig/imap/mboxlist.c ./imap/mboxlist.c >--- ../cyrus-imapd-2.2.12.orig/imap/mboxlist.c 2004-07-26 20:08:03.000000000 +0200 >+++ ./imap/mboxlist.c 2005-04-21 00:59:50.874254080 +0200 >@@ -476,10 +476,12 @@ mboxlist_mycreatemailboxcheck(char *name > free(acl); > return IMAP_PERMISSION_DENIED; > } >+#ifdef notdef > /* disallow wildcards in userids with inboxes. */ > if (strchr(mbox, '*') || strchr(mbox, '%') || strchr(mbox, '?')) { > return IMAP_MAILBOX_BADNAME; > } >+#endif > > /* > * Users by default have all access to their personal mailbox(es), >diff -upr ../cyrus-imapd-2.2.12.orig/imap/mboxname.c ./imap/mboxname.c >--- ../cyrus-imapd-2.2.12.orig/imap/mboxname.c 2005-02-14 07:39:57.000000000 +0100 >+++ ./imap/mboxname.c 2005-04-21 00:59:50.879253320 +0200 >@@ -649,8 +649,13 @@ int mboxname_netnewscheck(char *name) > /* > * Apply site policy restrictions on mailbox names. > * Restrictions are hardwired for now. >- */ >+ >+ * original definition > #define GOODCHARS " +,-.0123456789:=@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~" >+ */ >+ >+#define GOODCHARS " #$%'()*+,-.0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~" >+ > int mboxname_policycheck(char *name) > { > unsigned i; >Kun i ./imap: mboxname.c.orig
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 96728
:
61661
|
61662
| 61664 |
61665
|
61666
|
61667
|
61668
|
62361
|
68046