]> snippets.scripts.mit.edu Git - Scripts/git/.git/commit
Fix issues with user setup in the scripts backend
authorAlex Dehnert <adehnert@mit.edu>
Tue, 24 May 2011 20:31:37 +0000 (16:31 -0400)
committerAlex Dehnert <adehnert@mit.edu>
Mon, 6 Jun 2011 05:57:09 +0000 (01:57 -0400)
commit3b7fb1861b41ba73d8de406d6b071ddfb30c0ebd
treeb20917f11d3eeb71105e68aab8c8912185fb6df4
parent2a644ab1cfed458a1afe7d0277afdfefa63f6248
Fix issues with user setup in the scripts backend

In particular:
* Properly escape usernames before passing them to LDAP
* Error out if the user can't be found

In theory, neither should be an issue, because this should only get called if
certs are in use, so the username should be sane and present in LDAP.

Thanks to Anders for bringing the first issue to my attention.
django/mit/__init__.py