Optimize DB cert filtering

This commit is contained in:
Curtis Castrapel 2019-01-14 08:02:27 -08:00
parent 5ebfba26d7
commit c4e6e7c59b
1 changed files with 1 additions and 1 deletions

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]