mirror of
https://github.com/laurivosandi/certidude
synced 2026-01-12 17:06:59 +00:00
Add request submission from web interface
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user