Index: openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl,v diff -u -r1.36.2.26 -r1.36.2.27 --- openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 25 May 2016 07:39:28 -0000 1.36.2.26 +++ openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 27 May 2016 22:29:54 -0000 1.36.2.27 @@ -1191,7 +1191,17 @@ [list prev_url [get_referrer]] \ ] "/packages/acs-tcl/lib/complain"] } errorMsg]} { - ad_log error "problem rendering complain page: $errorMsg ($::errorCode)" + set errorCode $::errorCode + # + # Check, if we were called from "ad_script_abort" (intentional abortion) + # + if {[ad_exception $errorCode] eq "ad_script_abort"} { + # + # Yes, this was an intentional abortion + # + return "" + } + ad_log error "problem rendering complain page: $errorMsg ($errorCode)" set html "Invalid input" } ns_return 422 text/html $html