Bug 41548 - SysLogHandler sends invalid messages when using unicode
SysLogHandler sends invalid messages when using unicode
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 3.3
Other Linux
: P5 normal (vote)
: UCS 3.3-0-errata
Assigned To: Felix Botner
Janek Walkenhorst
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-13 16:53 CEST by Stefan Gohmann
Modified: 2016-09-21 20:47 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2016-06-13 16:53:46 CEST
+++ This bug was initially created as a clone of Bug #41313 +++

When using unicode the SyslogHandler of python2.6 creates invalid syslog messages.
This bug has been fixed upstream for Python 2.7, 3.2 and 3.3 but not for 2.6.

Please include the fix into python2.6.

Upstream bug: https://bugs.python.org/issue14452
Upstream fix: https://hg.python.org/cpython/rev/af46a001d5ec
Comment 1 Felix Botner univentionstaff 2016-06-14 11:25:18 CEST
python2.6 2.6.8-1.1~ucs3.3.38.201606140944 errata3.3-0
python2.6.yaml
Comment 2 Janek Walkenhorst univentionstaff 2016-06-14 17:20:36 CEST
Patch: OK
 Review: OK
 Applied: OK
Reproduce: OK
 u'Lögü?' → '<44>Lögü?'
Fixed: OK
 u'Lögü?' → 'Lögü?'
Advisory: BAD, see Jenkins
Comment 3 Felix Botner univentionstaff 2016-06-14 17:34:37 CEST
fixed
Comment 4 Janek Walkenhorst univentionstaff 2016-06-14 17:38:08 CEST
Advisory: OK
Comment 5 Janek Walkenhorst univentionstaff 2016-06-15 12:09:16 CEST
<http://errata.software-univention.de/ucs/3.3/7.html>