Univention Bugzilla – Attachment 5936 Details for
Bug 25196
Absturz des UMC-Servers bei speziellem Operationset
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixed the ',,'- and 'foobar*'-problem
patch_25196.diff (text/plain), 868 bytes, created by
Alexander Kramer
on 2014-06-04 13:27:11 CEST
(
hide
)
Description:
fixed the ',,'- and 'foobar*'-problem
Filename:
MIME Type:
Creator:
Alexander Kramer
Created:
2014-06-04 13:27:11 CEST
Size:
868 bytes
patch
obsolete
>--- acl.py.orig 2014-06-03 14:13:24.576000000 +0200 >+++ acl.py 2014-06-04 12:34:22.112000000 +0200 >@@ -163,7 +163,10 @@ > if data: > elements = data.split( ',' ) > for elem in elements: >- if elem.find( '=' ) != -1: >+ if not elem: >+ ACL.error('### Typo in data: %s Ignoring ,, and try to continue' % (data)) >+ continue >+ elif elem.find( '=' ) != -1: > key, value = elem.split( '=' ) > options[ key.strip() ] = value.strip() > elif elem[ 0 ] == '!': # key without value allowed if starting with ! -> key may not exist >@@ -244,7 +247,7 @@ > if flavor1 == flavor2 or flavor1 is None or flavor1 == '*': > return ACLs.MATCH_FULL > >- if flavor1[ -1 ] == '*' and flavor2.startswith( flavor1[ : -1 ] ): >+ if flavor1[ -1 ] == '*' and flavor2 and flavor2.startswith( flavor1[ : -1 ] ): > return ACLs.MATCH_PART > > return ACLs.MATCH_NONE
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 25196
:
5936
|
5946
|
5947
|
5960