View Issue Details

IDProjectCategoryView StatusLast Update
0002479SOGoBackend Generalpublic2019-04-30 12:38
Reporterarien Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformAMD64OSFreeBSDOS Version8.4-RELEASE-p1
Product Version2.0.7 
Target Version2.3.7 
Summary0002479: Ampersand in the local-part of an email in LDAP blocks CalDAV access.
Description

Users with an ampersand in the local-part of an email in LDAP can't get CalDAV access.

Apple Calendar 6.0 (1648) reports "The account information was not found."

The calendar app that comes with IOS 6 just doesn't show the calendar at all.

Sunbird shows: "Warning: There has been an error reading data for calendar: Ted Test. However, this error is believed to be minor, so the program will attempt to continue. Error code: READ_FAILED. Description: "

Steps To Reproduce

To reproduce the following record was added to the LDAP server:

dn: uid=ted,ou=people,dc=example,dc=com
objectClass: posixAccount
objectclass: inetOrgPerson
uidNumber: 10007
gidNumber: 10007
cn: Ted Test
sn: Test
uid: ted

Additional Information

The connection is dropped by the server after receiving an OPTIONS request. This in comfirmed by wireshark and the sogo log. The latter is shown below:

Oct 31 23:09:47 sogod [73158]: <0x0x807c29828[SoWebDAVRenderer]> got bogus port information from webserver: sogo.example.com
77.248.240.55 - - [31/Oct/2013:23:09:47 GMT] "PROPFIND /SOGo/dav/ted/ HTTP/1.0" 207 300/127 0.024 - - -
Oct 31 23:09:47 sogod [73158]: <0x0x807c29828[SoWebDAVRenderer]> got bogus port information from webserver: sogo.example.com
77.248.240.55 - - [31/Oct/2013:23:09:47 GMT] "PROPFIND /SOGo/dav/ted/ HTTP/1.0" 207 591/743 0.029 2029 70% -
77.248.240.55 - - [31/Oct/2013:23:09:47 GMT] "OPTIONS /SOGo/dav/ted/ HTTP/1.0" 200 0/0 0.012 - - -

Additionally, section 3.2.3 of RFC5322 shows the valid characters.

http://tools.ietf.org/html/rfc5322#section-3.2.3

The ampersand (&) is just one of the allowed non-alphdigit characters. You may want to test other characters.

TagsNo tags attached.

Activities

arien

arien

2015-11-26 08:06

reporter   ~0009150

Just noticed that this bug still exists in version 2.3.3.

circlecode

circlecode

2019-04-25 06:32

reporter   ~0013553

Using SoGo 4.0.7, it seems I am facing a similar problem, with some investigations at this url: https://forums.bitfire.at/topic/2025/ampersands-in-caldav-cause-parsing-error

Issue History

Date Modified Username Field Change
2013-11-01 15:10 arien New Issue
2014-09-12 15:33 ludovic Target Version => 2.2.9
2014-09-26 13:37 ludovic Target Version 2.2.9 => 2.2.10
2014-11-07 20:41 ludovic Target Version 2.2.10 => 2.2.11
2014-12-04 19:30 ludovic Target Version 2.2.11 => 2.2.12
2014-12-18 14:38 ludovic Target Version 2.2.12 => 2.2.13
2014-12-30 15:28 ludovic Target Version 2.2.13 => 2.2.14
2015-01-20 16:23 ludovic Target Version 2.2.14 => 2.2.15
2015-01-30 18:10 ludovic Target Version 2.2.15 => 2.2.16
2015-02-12 16:15 ludovic Target Version 2.2.16 => 2.2.17
2015-03-24 18:25 francis Target Version 2.2.17 => 2.3.0
2015-05-12 19:51 ludovic Target Version 2.3.0 => 2.3.1
2015-07-23 17:44 ludovic Target Version 2.3.1 => 2.3.2
2015-09-16 19:20 ludovic Target Version 2.3.2 => 2.3.3
2015-11-11 14:23 ludovic Target Version 2.3.3 => 2.3.4
2015-11-26 08:06 arien Note Added: 0009150
2015-12-16 16:08 ludovic Target Version 2.3.4 => 2.3.5
2016-01-07 14:56 ludovic Target Version 2.3.5 => 2.3.6
2016-01-18 18:20 ludovic Target Version 2.3.6 => 2.3.7
2019-04-25 06:32 circlecode Note Added: 0013553