Univention Bugzilla – Attachment 6981 Details for
Bug 38765
UMCP does not handle Unicode very well
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
38765.patch (text/plain), 751 bytes, created by
Florian Best
on 2015-06-25 11:37 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2015-06-25 11:37 CEST
Size:
751 bytes
patch
obsolete
>diff --git a/ucs-4.0-2/management/univention-management-console/src/univention/management/console/protocol/message.py b/ucs-4.0-2/management/univention-management-console/src/univention/management/console/protocol/message.py >index 8bce568..6f85231 100644 >--- a/ucs-4.0-2/management/univention-management-console/src/univention/management/console/protocol/message.py >+++ b/ucs-4.0-2/management/univention-management-console/src/univention/management/console/protocol/message.py >@@ -129,6 +129,8 @@ def _formattedMessage(_id, _type, mimetype, command, body, arguments): > if mimetype == MIMETYPE_JSON: > data = json.dumps(body) > else: >+ if isinstance(body, unicode): >+ body = body.encode('UTF-8') > data = body > args = '' > if arguments:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 38765
: 6981