1
0
mirror of https://github.com/laurivosandi/certidude synced 2025-10-31 01:19:11 +00:00

Add request submission from web interface

This commit is contained in:
2016-09-18 16:25:52 +03:00
parent 2590340355
commit fab52dca76
5 changed files with 56 additions and 6 deletions

View File

@@ -33,6 +33,10 @@ class RequestListResource(object):
body = req.stream.read(req.content_length)
# Normalize body, TODO: newlines
if not body.endswith("\n"):
body += "\n"
csr = Request(body)
if not csr.common_name: