use unquoted email address for MIA lookup
This commit is contained in:
parent
dd9d8f6c52
commit
9242fdafde
2 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,7 @@ owndndoms.pattern=ssh merkel.debian.org ldapsearch -u -x -H ldap://db.debian.org
|
|||
owndndoms.type=ssh
|
||||
owndndoms.optional=true
|
||||
# MIA information
|
||||
miainfo.pattern=ssh merkel.debian.org /srv/qa.debian.org/mia/mia-query %(email)s
|
||||
miainfo.pattern=ssh merkel.debian.org /srv/qa.debian.org/mia/mia-query %(emailnoq)s
|
||||
miainfo.type=ssh
|
||||
# Group information
|
||||
groupinfo.pattern=ssh merkel.debian.org id %(username)s
|
||||
|
|
|
@ -76,6 +76,7 @@ def build_urls(fields):
|
|||
if fpr:
|
||||
qfields['gpgfp'] = fpr[0]
|
||||
qfields['firstchar'] = fields['email'][0].encode('utf8')
|
||||
qfields['emailnoq'] = fields['email'].encode('utf8')
|
||||
for section in [section.strip() for section in \
|
||||
my_config.get('DEFAULT',
|
||||
'urlbuilder.sections').split(',')]:
|
||||
|
|
Loading…
Reference in a new issue