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:58:59 UTC

[couchdb] branch remove-log-line-from-csp-header-logic created (now f5a40f1)

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

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


      at f5a40f1  Remove log line from CSP logic in chttpd_util

This branch includes the following new commits:

     new f5a40f1  Remove log line from CSP logic in chttpd_util

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


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

Posted by va...@apache.org.
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),