You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2021/09/10 04:59:00 UTC

[couchdb] 01/01: Remove log line from CSP logic in chttpd_util

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch remove-log-line-from-csp-header-logic
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit f5a40f187f74904ffcea87862bb5ca06112ce641
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Fri Sep 10 00:58:20 2021 -0400

    Remove log line from CSP logic in chttpd_util
---
 src/chttpd/src/chttpd_util.erl | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/chttpd/src/chttpd_util.erl b/src/chttpd/src/chttpd_util.erl
index 2640320..6c68568 100644
--- a/src/chttpd/src/chttpd_util.erl
+++ b/src/chttpd/src/chttpd_util.erl
@@ -65,7 +65,6 @@ get_chttpd_auth_config_boolean(Key, Default) ->
 
 maybe_add_csp_header(Component, OriginalHeaders, DefaultHeaderValue) ->
     Enabled = config:get_boolean("csp", Component ++ "_enable", true),
-    couch_log:notice("~n> maybe_add_csp_header~n Component: ~n~p~n OriginalHeaders: ~n~p~n DefaultHeaderValue: ~n~p~n, Enabled: ~n~p~n", [Component, OriginalHeaders, DefaultHeaderValue, Enabled]),
     case Enabled of
         true ->
             HeaderValue = config:get("csp", Component ++ "_header_value", DefaultHeaderValue),