mirror of
https://github.com/laurivosandi/certidude
synced 2026-03-17 17:36:45 +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