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