Index: openacs-4/packages/acs-bootstrap-installer/installer/www/SYSTEM/csp-collector.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/installer/www/SYSTEM/csp-collector.tcl,v diff -u -r1.2.2.1 -r1.2.2.2 --- openacs-4/packages/acs-bootstrap-installer/installer/www/SYSTEM/csp-collector.tcl 20 Dec 2019 16:52:04 -0000 1.2.2.1 +++ openacs-4/packages/acs-bootstrap-installer/installer/www/SYSTEM/csp-collector.tcl 9 Feb 2020 15:23:29 -0000 1.2.2.2 @@ -1,7 +1,13 @@ ad_page_contract { Page responsible for collecting CSP complaints for the browser and - putting them in the log file + putting them in the log file. } ns_log notice "CSP violation: [ns_conn content] user-agent: [ns_set iget [ns_conn headers] user-agent] user_id [ad_conn user_id] peer [ad_conn peeraddr]" ns_return 200 text/plain ok + +# Local variables: +# mode: tcl +# tcl-indent-level: 4 +# indent-tabs-mode: nil +# End: