Fix allowed URL parts for local mailboxes.
Parameters are allowed: they are used to expand hashed or indexed mailbox names. * libproto/maildir/folder.c (_maildir_record): Add MU_URL_PARAM. * libproto/mbox/folder.c (_mbox_record): Likewise. * libproto/mh/folder.c (_mh_record): Likewise.
Showing
3 changed files
with
3 additions
and
3 deletions
... | @@ -99,7 +99,7 @@ static struct _mu_record _maildir_record = | ... | @@ -99,7 +99,7 @@ static struct _mu_record _maildir_record = |
99 | MU_MAILDIR_PRIO, | 99 | MU_MAILDIR_PRIO, |
100 | MU_MAILDIR_SCHEME, | 100 | MU_MAILDIR_SCHEME, |
101 | MU_RECORD_LOCAL, | 101 | MU_RECORD_LOCAL, |
102 | MU_URL_SCHEME | MU_URL_PATH, | 102 | MU_URL_SCHEME | MU_URL_PATH | MU_URL_PARAM, |
103 | MU_URL_PATH, | 103 | MU_URL_PATH, |
104 | mu_url_expand_path, /* Url init. */ | 104 | mu_url_expand_path, /* Url init. */ |
105 | _mailbox_maildir_init, /* Mailbox init. */ | 105 | _mailbox_maildir_init, /* Mailbox init. */ | ... | ... |
... | @@ -101,7 +101,7 @@ static struct _mu_record _mbox_record = | ... | @@ -101,7 +101,7 @@ static struct _mu_record _mbox_record = |
101 | MU_MBOX_PRIO, | 101 | MU_MBOX_PRIO, |
102 | MU_MBOX_SCHEME, | 102 | MU_MBOX_SCHEME, |
103 | MU_RECORD_LOCAL, | 103 | MU_RECORD_LOCAL, |
104 | MU_URL_SCHEME | MU_URL_PATH, | 104 | MU_URL_SCHEME | MU_URL_PATH | MU_URL_PARAM, |
105 | MU_URL_PATH, | 105 | MU_URL_PATH, |
106 | mu_url_expand_path, /* URL init. */ | 106 | mu_url_expand_path, /* URL init. */ |
107 | _mailbox_mbox_init, /* Mailbox init. */ | 107 | _mailbox_mbox_init, /* Mailbox init. */ | ... | ... |
... | @@ -139,7 +139,7 @@ static struct _mu_record _mh_record = | ... | @@ -139,7 +139,7 @@ static struct _mu_record _mh_record = |
139 | MU_MH_PRIO, | 139 | MU_MH_PRIO, |
140 | MU_MH_SCHEME, | 140 | MU_MH_SCHEME, |
141 | MU_RECORD_LOCAL, | 141 | MU_RECORD_LOCAL, |
142 | MU_URL_SCHEME | MU_URL_PATH, | 142 | MU_URL_SCHEME | MU_URL_PATH | MU_URL_PARAM, |
143 | MU_URL_PATH, | 143 | MU_URL_PATH, |
144 | mu_url_expand_path, /* Url init. */ | 144 | mu_url_expand_path, /* Url init. */ |
145 | _mailbox_mh_init, /* Mailbox init. */ | 145 | _mailbox_mh_init, /* Mailbox init. */ | ... | ... |
-
Please register or sign in to post a comment