chiark / gitweb /
lib/Odin.pm: Provide substitutions on mail recipient addresses.
[odin-cgi] / mason / pastebin / dhandler
index 85b7ef31c1bbef9739aed6be9a39a0f1308fbbba..85839815ddd55acf775ce292832dae4852200d18 100644 (file)
@@ -76,8 +76,17 @@ tag &lsquo;<% $tag %>&rsquo; not found
 </%args>
 </%def>
 %#
+<%def .badpaste>
+<&| SELF:error, status => 400 &>\
+invalid paste content
+</&>
+<%args>
+       $tag
+</%args>
+</%def>
+%#
 <%def .badhash>
-<&| SELF:error, status => 404 &>\
+<&| SELF:error, status => 403 &>\
 incorrect edit key
 </&>
 <%args>