nickva commented on a change in pull request #3567:
URL: https://github.com/apache/couchdb/pull/3567#discussion_r636490603
##########
File path: src/chttpd/src/chttpd_rewrite.erl
##########
@@ -442,7 +442,7 @@ path_to_list([<<>>|R], Acc, DotDotCount) ->
path_to_list([<<"*">>|R], Acc, DotDotCount) ->
path_to_list(R, [?MATCH_ALL|Acc], DotDotCount);
path_to_list([<<"..">>|R], Acc, DotDotCount) when DotDotCount == 2 ->
- case config:get("httpd", "secure_rewrites", "true") of
+ case chttpd_util:get_chttpd_config(secure_rewrites, "true") of
Review comment:
Let use `get_chttpd_config_boolean(secure_rewrites, true)` since we a
boolean getter function now. Then result should be `false` or `true`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]