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 05:37:28 UTC

[couchdb] branch 3.x updated: 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 3.x
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/3.x by this push:
     new bf92529  Remove log line from CSP logic in chttpd_util
bf92529 is described below

commit bf92529bde4a7244f2a5514f100743f8a6b8b0a8
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),