View Issue Details

IDProjectCategoryView StatusLast Update
0002987SOGoWeb Mailpublic2017-09-21 08:08
Reportergreinick Assigned To 
PriorityhighSeverityfeatureReproducibilityalways
Status newResolutionopen 
Platform[Server] LinuxOSRHEL/CentOSOS Version6
Product Version2.2.9a 
Target Version3.0.0 
Summary0002987: Creating folders with / and . characters behaves not as user expected
Description

Hi,

some of our users like/try to create folders and subfolders with "/" and "." in the fielder name.

E.g. "Contracts 2013/2014" or

(this as a funny one to me) .ToDo or todos.1 todos.2

This creates subfolders named after the . or / in a folder named from the first word.

Steps To Reproduce

login to sogo

create a folder like test.foobar

Additional Information

I have not found any solution to prevent this, may be this is a duplicated report as well?

TagsNo tags attached.

Relationships

has duplicate 0003089 new create a folder into INBOX containing a dot cause issue 
related to 0003059 new move folders 

Activities

Christian Mack

Christian Mack

2014-11-21 08:22

developer   ~0007708

That is not a SOGo or any IMAP clients problem.
They can do nothing about that.

That is so because of IMAP servers definition of mailbox seperator characters.
The only way in dealing with that is to instruct users.

greinick

greinick

2014-11-21 08:26

reporter   ~0007709

Last edited: 2014-11-21 08:32

Hi, thanks, sounds reasonable and is something I was thinking of to.

But may be there is any possibility for SOGo to "catch" such separators and show a wring pop up window?

TB for example prevents creating folders like "foo.bar"

Christian Mack

Christian Mack

2014-11-21 08:51

developer   ~0007712

Something like "Invalid character (dot or slash) in your folder name!" would certainly be possible.
But I assume, that will not happen before SOGo 3.0, as this is a webinterface change.

francis

francis

2014-11-21 11:19

administrator   ~0007716

Notice that accepting the mailbox separator character allows to move a mailbox by renaming it (ex: if mailboxes "foo" and "bar" exist, rename "bar" to "foo/bar" and it will become a subfolder of "foo").

We should probably refuse to create or rename a mailbox that contains the separator character and add drag'n'drop of mailboxes.

fsoyer

fsoyer

2017-09-21 08:08

reporter   ~0012321

I "up" this functionnality. As my users only use the webmail v3 now (dovecot Maildir backend), this problem has already cause some disagreaments in mailbox trees when renaming a root folder as "1.First folder" !! Needing admin action to correct it directly on server...
Maybe can it be possible in a first time in sogo.conf to add a variable like a table of prohibited characters ? Even if there is no popup. I prefer explain to a user why his folder refused to be created due to invalid char., instead of repairing a mailbox for an hour (or more) !

Please ?

Issue History

Date Modified Username Field Change
2014-11-20 12:04 greinick New Issue
2014-11-21 08:22 Christian Mack Note Added: 0007708
2014-11-21 08:26 greinick Note Added: 0007709
2014-11-21 08:32 greinick Note Edited: 0007709
2014-11-21 08:51 Christian Mack Note Added: 0007712
2014-11-21 11:19 francis Note Added: 0007716
2014-11-21 11:20 francis Target Version => 3.0.0
2015-01-13 11:30 francis Relationship added related to 0003059
2015-02-04 15:52 Christian Mack Relationship added has duplicate 0003089
2015-10-23 15:44 ludovic Severity major => feature
2017-09-21 08:08 fsoyer Note Added: 0012321