6.0.0-alpha12
6/12/25

[#14594] It's possible to create folder names with dot over Active Sync
Summary It's possible to create folder names with dot over Active Sync
Queue Synchronization
Queue Version FRAMEWORK_5_2
Type Bug
State No Feedback
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester rene.marth (at) hetzner (dot) de
Created 03/10/2017 (3016 days ago)
Due
Updated 04/13/2017 (2982 days ago)
Assigned 03/11/2017 (3015 days ago)
Resolved 04/13/2017 (2982 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/13/2017 07:39:34 PM Michael Rubinsky State ⇒ No Feedback
 
03/16/2017 02:51:11 AM Michael Rubinsky Comment #5 Reply to this comment
Thinking about it some more, the only thing I can think of is that the 
Outlook assumes that the separator is a '/', or some other character 
that is NOT a '.', so creates the folder locally before it receives 
the acknowledgement from the ActiveSync server (there were other, 
similar issues with OL where it didn't care what the server responded).

My guess is that the folder IS being created, but it's being created 
as a subfolder. I.e., 'test.folder' is being created as:

Test
    |
    |--folder


If that's the cast there really isn't anything we can do about that 
since the client is ignoring the server response.
03/16/2017 02:46:25 AM Michael Rubinsky Comment #4 Reply to this comment
I'm afraid that I'm not able to provide debug data. I can only give 
you some more information about the IMAP server.

It's a Courier-IMAP using Maildir - the dot is the directory 
separator char (I suppose, the dot is a quasi-standard). 
Unfortunately the Courierlogs also gives no hint about the reason - 
maybe the folder creation fails before it goes to the imap server?
You are going to have to find out where and why this fails. I can't 
reproduce and without more information there isn't much  we can do to 
help.
03/15/2017 10:09:19 AM rene (dot) marth (at) hetzner (dot) de Comment #3 Reply to this comment
I'm afraid that I'm not able to provide debug data. I can only give 
you some more information about the IMAP server.

It's a Courier-IMAP using Maildir - the dot is the directory separator 
char (I suppose, the dot is a quasi-standard). Unfortunately the 
Courierlogs also gives no hint about the reason - maybe the folder 
creation fails before it goes to the imap server?
03/11/2017 07:51:41 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Assigned to Michael Rubinsky
Reply to this comment
(Related bug https://bugs.horde.org/ticket/6076 )

When creating new folders over an Active Sync client (tested with 
Outlook 2013 and 2016) there is no input validation for dots in the 
folder name.
There is no reason why a '.' should be disallowed. *IF* this is the 
configured separator on your IMAP server, it would create a sub-folder 
structure. If it is NOT the separator, then there is no reason why it 
should fail.

Please enable IMAP debugging (see imp/config/backends.php) and provide 
the IMAP log of when this fails. Also check other horde/webserver 
error logs for any relevant entries.
Instead the folder isn't created on server but since there was no 
error at the client the folder exists local.

According to our users this results in strange issues and breaks the 
sync completely.
03/10/2017 11:44:11 AM rene (dot) marth (at) hetzner (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ It's possible to create folder names with dot over Active Sync
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
(Related bug https://bugs.horde.org/ticket/6076 )

When creating new folders over an Active Sync client (tested with 
Outlook 2013 and 2016) there is no input validation for dots in the 
folder name. Instead the folder isn't created on server but since 
there was no error at the client the folder exists local.

According to our users this results in strange issues and breaks the 
sync completely.

Saved Queries