Univention Bugzilla – Attachment 5529 Details for
Bug 32787
UMC-Server: crash with UnicodeEncodeError while dumping ACLs to file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
UMC Server patch
bug32787.patch (text/plain), 726 bytes, created by
Florian Best
on 2013-10-23 16:06:07 CEST
(
hide
)
Description:
UMC Server patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2013-10-23 16:06:07 CEST
Size:
726 bytes
patch
obsolete
>Index: src/univention/management/console/protocol/server.py >=================================================================== >--- src/univention/management/console/protocol/server.py (Revision 45487) >+++ src/univention/management/console/protocol/server.py (Arbeitskopie) >@@ -213,6 +213,9 @@ > Server.reload() > state.authResponse = Response( msg ) > try: >+ for key in ('username', 'password', 'new_password'): >+ if isinstance(msg.body[key], (unicode,)): >+ msg.body[key] = msg.body[key].encode('UTF-8') > state.authenticate( msg.body[ 'username' ], msg.body[ 'password' ], msg.body.get( 'new_password' ) ) > except ( TypeError, KeyError ), e: > state.authResponse.status = BAD_REQUEST_INVALID_OPTS
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32787
:
5529
|
5775