Merge pull request #2358 from castrapel/db_cert_filtering

Optimize DB cert filtering
This commit is contained in:
Curtis 2019-01-14 08:25:50 -08:00 committed by GitHub
commit 42ffeda90d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -307,7 +307,7 @@ def render(args):
if filt:
terms = filt.split(';')
term = '%{0}%'.format(terms[1])
term = '{0}%'.format(terms[1])
# Exact matches for quotes. Only applies to name, issuer, and cn
if terms[1].startswith('"') and terms[1].endswith('"'):
term = terms[1][1:-1]