View Issue Details

IDProjectCategoryView StatusLast Update
0002637SOGoWeb Mailpublic2014-03-06 14:52
Reporterwimmer Assigned Tofrancis  
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.2.0 
Fixed in Version2.2.1 
Summary0002637: IMAP folder names aren't correctly encoded
Description

IMAP folder names containing accented characters aren't correctly encoded by writing on mail server in some cases. Users report lost messages because WebGUI doesn't show existing (correctly encoded) name folder.

Steps To Reproduce

1) I create new top-level folder "1á"
=> OK, folder "1&AOE-" is created on the mail server

2) I create subfolder "2a" under "1á"
=> OK, folder "1&AOE-/2a" is created on the mail server
[ pic1.png ]

3) I create subfolder "2á" under "1á"
=> FAIL

  • new wrong encoded folder "1&-AOE-" is created on top-level on the mail server
  • (so there exist both correct "1&AOE-" and wrong "1&-AOE-" folders now)
  • subfolder "2á" is created in wrong folder "1&-AOE-/2&AOE-"
  • WebGUI shows only wrong folder "1&-AOE-" with both subfolders
    "2a" and "2á" (but only "2á" exist in it on the mail server)
  • folder "1á" is not accessible from WebGUI now (but it exists on mail server), so all its messages look like lost
    [ pic2.png ]

4) I rename wrong folder "1&-AOE-" to "1b"
=> wrong folder is renamed into "1b" on the mail server
=> WebGUI shows folder "1á" and all its messages again
[ pic3.png ]

TagsNo tags attached.

Activities

wimmer

wimmer

2014-03-05 18:00

reporter  

pic1.png (5,909 bytes)   
pic1.png (5,909 bytes)   
wimmer

wimmer

2014-03-05 18:00

reporter  

pic2.png (7,249 bytes)   
pic2.png (7,249 bytes)   
wimmer

wimmer

2014-03-05 18:00

reporter  

pic3.png (6,361 bytes)   
pic3.png (6,361 bytes)   
francis

francis

2014-03-06 14:52

administrator   ~0006656

Fixed.

See https://github.com/inverse-inc/sogo/commit/e4a21bcef5afb1245023d5561c0d60c183bfe623

Issue History

Date Modified Username Field Change
2014-03-05 17:59 wimmer New Issue
2014-03-05 18:00 wimmer File Added: pic1.png
2014-03-05 18:00 wimmer File Added: pic2.png
2014-03-05 18:00 wimmer File Added: pic3.png
2014-03-06 14:52 francis Note Added: 0006656
2014-03-06 14:52 francis Status new => resolved
2014-03-06 14:52 francis Fixed in Version => 2.2.1
2014-03-06 14:52 francis Resolution open => fixed
2014-03-06 14:52 francis Assigned To => francis