6.0.0-git
2019-05-22

[#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 2017-03-10 (803 days ago)
Due
Updated 2017-04-13 (769 days ago)
Assigned 2017-03-11 (802 days ago)
Resolved 2017-04-13 (769 days ago)
Milestone
Patch No

History
2017-04-13 19:39:34 Michael Rubinsky State ⇒ No Feedback
 
2017-03-16 02:51:11 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.
2017-03-16 02:46:25 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.
2017-03-15 10:09:19 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?
2017-03-11 19:51:41 Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
State ⇒ Feedback
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.
2017-03-10 11:44:11 rene (dot) marth (at) hetzner (dot) de Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ It's possible to create folder names with dot over Active Sync
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
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