[Tickets #10093] Re: Cannot create folder name with ampersand

bugs at horde.org bugs at horde.org
Wed Aug 3 10:39:27 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10093
------------------------------------------------------------------------------
  Ticket             | 10093
  Updated By         | jacob-horde at vindvejr.dk
  Summary            | Cannot create folder name with ampersand
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Assigned
  Priority           | 3. High
  Milestone          | 6
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


jacob-horde at vindvejr.dk (2011-08-03 10:39) wrote:

>> For example, I'm having problems with folder name "Nytår"
>> ("Maildir/.Nyt\&AOU-r/").

> Works fine here.  From the IMAP debug log:
> (1310495155.4528) C: 4 SELECT Testing.Nyt&AOU-r
> (1310495155.4914) S: * OK [CLOSED] Previous mailbox closed.
> (1310495155.4915) S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
> (1310495155.4916) S: * OK [PERMANENTFLAGS (\Answered \Flagged  
> \Deleted \Seen \Draft \*)] Flags permitted.
> (1310495155.4917) S: * 1 EXISTS
> (1310495155.4918) S: * 0 RECENT
> (1310495155.4919) S: * OK [UIDVALIDITY 1255685480] UIDs valid
> (1310495155.4919) S: * OK [UIDNEXT 2] Predicted next UID
> (1310495155.4920) S: * OK [HIGHESTMODSEQ 2] Highest
> (1310495155.4920) S: 4 OK [READ-WRITE] Select completed.
>
> You will need to provide the IMAP debug log (see below for  
> instructions) for when you try to access that mailbox.

I finally have some IMAP debug information (for folder  
Maildir/.Vigtigt.Ordrebekr\&AOY-ftelser/ (Vigtigt/Ordrebekræftelser),  
which has the same problem):
(1312367349,9868) S: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN  
NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL  
ACL2=UNION STARTTLS XMAGICTRASH] Courier-IMAP ready. Copyright  
1998-2011 Double Precision, Inc.  See COPYING for distribution  
information.
(1312367349,9874) C: 1 STARTTLS
(1312367349,9878) S: 1 OK Begin SSL/TLS negotiation now.
(1312367350,0878) C: [LOGIN Command - username: xxx]
(1312367350,3669) S: 2 OK LOGIN Ok.
(1312367350,3677) C: 3 SELECT INBOX.Vigtigt.Ordrebekr&AOY-ftelser
(1312367350,3882) S: * FLAGS (NonJunk $Forwarded \Draft \Answered  
\Flagged \Deleted \Seen \Recent)
(1312367350,3886) S: * OK [PERMANENTFLAGS (NonJunk $Forwarded \*  
\Draft \Answered \Flagged \Deleted \Seen)] Limited
(1312367350,3889) S: * 428 EXISTS
(1312367350,3891) S: * 0 RECENT
(1312367350,3893) S: * OK [UIDVALIDITY 1068675967] Ok
(1312367350,3894) S: * OK [MYRIGHTS "acdilrsw"] ACL
(1312367350,3895) S: 3 OK [READ-WRITE] Ok
(1312367350,5602) C: 4 UID SEARCH 428
(1312367350,6022) S: * SEARCH 437
(1312367350,6028) S: 4 OK SEARCH done.
(1312367350,6061) C: 5 UID SORT (ARRIVAL) US-ASCII ALL
(1312367350,6875) S: * SORT 3 43 42 41 40 39 38 37 36 35 34 4 2 64 33  
32 63 62 61 60 59 58 31 30 29 28 145 57 56 55 54 53 52 51 27 26 25 24  
23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 50  [etc., red.]
(1312367350,6933) S: 5 OK SORT done.
(1312367350,6957) C: 6 UID SEARCH 428
(1312367350,6967) S: * SEARCH 437
(1312367350,6970) S: 6 OK SEARCH done.
(1312367350,6981) C: 7 UID SEARCH CHARSET UTF-8 UNSEEN
(1312367350,7396) S: * SEARCH
(1312367350,7400) S: 7 OK SEARCH done.
(1312367350,7435) C: 8 UID SEARCH 428
(1312367350,7846) S: * SEARCH 437
(1312367350,7851) S: 8 OK SEARCH done.
(1312367350,7984) C: 9 UID FETCH  
3,43,42,41,40,39,38,37,36,35,34,4,2,64,33,32,63,62,61,60,59,58,31,30,29  
(ENVELOPE FLAGS RFC822.SIZE BODY.PEEK[HEADER.FIELDS (IMPORTANCE  
LIST-POST X-PRIORITY)])
(1312367350,8455) S: * BYE [ALERT] Fatal error: Invalid argument

 From the Horde log:
2011-08-03T11:15:24+02:00 DEBUG: HORDE [imp] Unexpectedly disconnected  
from the mail server. [pid 29118 on line 27 of  
"/usr/local/lib/php/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
2011-08-03T11:15:24+02:00 ERR: HORDE [imp] IMAP Server closed the  
connection: BYE [ALERT] Fatal error: Invalid argument [pid 29118 on  
line 340 of "/var/www/secure/horde4/imp/lib/Imap.php"]
2011-08-03T11:15:24+02:00 DEBUG: 1.  
IMP_Mailbox_List->getMailboxArray()  
/var/www/secure/horde4/imp/mailbox.php:259
2. IMP_Imap->fetch() /var/www/secure/horde4/imp/lib/Mailbox/List.php:170
3. IMP_Imap->__call() /var/www/secure/horde4/imp/lib/Mailbox/List.php:170







More information about the bugs mailing list