In an e-mail we have received an attachement with the title "=?iso-8859-1?Q?PC_CADDIE,_Kantonalbank_Z=FC=81rich_-_Startliste.pdf?=". Whilst =FC is the ü umlaut, =81 is invalid (in less shown as <U+FFFE>).
- Expexted e-mail to get synced with the invalid character
- synctron crashes with the following error message in /var/log/kolab-syncroton/errors
[17-Jun-2016 06:32:18,669700 +0200]: [ERR] {"user":<redacted>,"cmd":"Sync","device":<redacted>,"type":"WindowsOutlook15"} Syncroton_Server::_handlePost::191 Could not encode output: exception 'Syncroton_Wbxml_Exception' with message 'XML error: Invalid character at line 829' in /usr/share/kolab-syncroton/lib/ext/Syncroton/Wbxml/Encoder.php:174 Stack trace: #0 /usr/share/kolab-syncroton/lib/ext/Syncroton/Server.php(188): Syncroton_Wbxml_Encoder->encode(Object(DOMDocument)) #1 /usr/share/kolab-syncroton/lib/ext/Syncroton/Server.php(70): Syncroton_Server->_handlePost() #2 /usr/share/kolab-syncroton/lib/kolab_sync.php(169): Syncroton_Server->handle() #3 /usr/share/kolab-syncroton/index.php(31): kolab_sync->run() #4 {main} [17-Jun-2016 06:32:18,671000 +0200]: [ERR] {"user":<redacted>,"cmd":"Sync","device":<redacted>,"type":"WindowsOutlook15"} Syncroton_Server::_handlePost::192 xml response(0):
Kolab version:
$ rpm -qv pykolab
pykolab-0.8.1-2.3.el7.kolab_16.noarch
$ yum list | grep pykolab
pykolab.noarch 0.8.1-2.3.el7.kolab_16 @Kolab_16
pykolab-xml.noarch 0.8.1-2.3.el7.kolab_16 @Kolab_16
pykolab-telemetry.noarch 0.8.1-2.3.el7.kolab_16 Kolab_16