Index: openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl,v diff -u -r1.118.2.23 -r1.118.2.24 --- openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl 31 May 2016 11:19:20 -0000 1.118.2.23 +++ openacs-4/packages/acs-tcl/tcl/request-processor-procs.tcl 4 Jun 2016 11:10:47 -0000 1.118.2.24 @@ -583,7 +583,7 @@ # 1. determine the root of the host and the requested URL if {[catch {set root [root_of_host [ad_host]]} errorMsg]} { # check if error message was returned already earlier - if {![ad_exception $::errorCode] eq "ad_script_abort"} { + if {[ad_exception $::errorCode] ne "ad_script_abort"} { ad_page_contract_handle_datasource_error "Host header is invalid" } return filter_return