mason/pastebin/dhandler: Pick a better status code for `.badhash'.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 24 Jul 2015 17:45:28 +0000 (18:45 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 24 Jul 2015 18:17:00 +0000 (19:17 +0100)
mason/pastebin/dhandler

index 85b7ef3..d798eef 100644 (file)
@@ -77,7 +77,7 @@ tag &lsquo;<% $tag %>&rsquo; not found
 </%def>
 %#
 <%def .badhash>
-<&| SELF:error, status => 404 &>\
+<&| SELF:error, status => 403 &>\
 incorrect edit key
 </&>
 <%args>