Univention Bugzilla – Attachment 7999 Details for
Bug 42181
UMC - make automatic substring search in UDM module configurable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
42181.patch (text/plain), 901 bytes, created by
Florian Best
on 2016-09-12 14:33:25 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-09-12 14:33:25 CEST
Size:
901 bytes
patch
obsolete
>diff --git a/ucs-3.2-8/management/univention-management-console-module-udm/umc/python/udm/__init__.py b/ucs-3.2-8/management/univention-management-console-module-udm/umc/python/udm/__init__.py >index 20728ba..1b01b07 100644 >--- a/ucs-3.2-8/management/univention-management-console-module-udm/umc/python/udm/__init__.py >+++ b/ucs-3.2-8/management/univention-management-console-module-udm/umc/python/udm/__init__.py >@@ -474,7 +474,10 @@ def _thread( request ): > notifier.Callback( self._thread_finished, request ) ) > thread.run() > >- @sanitize(objectPropertyValue=LDAPSearchSanitizer()) >+ @sanitize(objectPropertyValue=LDAPSearchSanitizer( >+ add_asterisks=ucr.is_true('umc/auto_substring_search', True), >+ use_asterisks=ucr.is_true('umc/allow_substring_search', True), >+ )) > def query( self, request ): > """Searches for LDAP objects and returns a few properties of the found objects >
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 42181
: 7999