From cf0317f7b3f3053495bcc42e4d7ac35d3db13444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Tue, 20 Oct 2015 10:47:41 +0300 Subject: [PATCH] api: Fixed CSR processing if autosign GET variable was not present --- certidude/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certidude/api.py b/certidude/api.py index 67ed433..70a98f4 100644 --- a/certidude/api.py +++ b/certidude/api.py @@ -257,7 +257,7 @@ class RequestListResource(CertificateAuthorityBase): # TODO: check for revoked certificates and return HTTP 410 Gone # Process automatic signing if the IP address is whitelisted and autosigning was requested - if req.get_param("autosign").lower() in ("yes", "1", "true"): + if req.get_param("autosign") in ("yes", "1", "true"): for subnet in ca.autosign_subnets: if subnet.overlaps(remote_addr): try: