changeset 34236:9becd05476b8

configitems: register the 'web.deny_read' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:45:41 +0200
parents 147104631eac
children 131f8cd2c2b4
files mercurial/configitems.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/configitems.py	Fri Jun 30 03:45:40 2017 +0200
+++ b/mercurial/configitems.py	Fri Jun 30 03:45:41 2017 +0200
@@ -609,6 +609,9 @@
 coreconfigitem('web', 'csp',
     default=None,
 )
+coreconfigitem('web', 'deny_read',
+    default=list,
+)
 coreconfigitem('worker', 'backgroundclose',
     default=dynamicdefault,
 )