Skip to content

Commit

Permalink
(SERVER-2550) Drop trailing slash on CRL update endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Magisus committed May 21, 2021
1 parent f83e3d1 commit 9204d12
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/clj/puppetlabs/services/ca/certificate_authority_core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -407,11 +407,10 @@
(handle-put-certificate-request! subject body ca-settings))
(DELETE [""] [subject]
(handle-delete-certificate-request! subject ca-settings)))
(comidi/context ["/certificate_revocation_list/"]
(GET [[#"[^/]+" :ignored-node-name]] request
(handle-get-certificate-revocation-list request ca-settings))
(PUT [""] request
(handle-put-certificate-revocation-list! (:body request) ca-settings)))
(GET ["/certificate_revocation_list/" :ignored-node-name] request
(handle-get-certificate-revocation-list request ca-settings))
(PUT ["/certificate_revocation_list"] request
(handle-put-certificate-revocation-list! (:body request) ca-settings))
(GET ["/expirations"] request
(handle-get-ca-expirations ca-settings))
(PUT ["/clean"] request
Expand Down

0 comments on commit 9204d12

Please sign in to comment.