X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/odin-cgi/blobdiff_plain/f5224f759ab768753bc456f3e000dc31a5b50575..fc8074b35d1b16d35726247fcc0dc86d59b83a3a:/mason/pastebin/dhandler diff --git a/mason/pastebin/dhandler b/mason/pastebin/dhandler index d798eef..8583981 100644 --- a/mason/pastebin/dhandler +++ b/mason/pastebin/dhandler @@ -76,6 +76,15 @@ tag ‘<% $tag %>’ not found %# +<%def .badpaste> +<&| SELF:error, status => 400 &>\ +invalid paste content + +<%args> + $tag + + +%# <%def .badhash> <&| SELF:error, status => 403 &>\ incorrect edit key