Patchwork [10,of,23] configitems: register the 'web.csp' config

login
register
mail settings
Submitter Boris Feld
Date Sept. 16, 2017, 6:28 p.m.
Message ID <d456cf6065d809c15e1b.1505586497@FB>
Download mbox | patch
Permalink /patch/23962/
State Accepted
Headers show

Comments

Boris Feld - Sept. 16, 2017, 6:28 p.m.
# HG changeset patch
# User Boris Feld <boris.feld@octobus.net>
# Date 1498787140 -7200
#      ven. juin 30 03:45:40 2017 +0200
# Node ID d456cf6065d809c15e1bc2e51f9f4c05ad733918
# Parent  a32df78859db33ff2c10d7dbafe9e0d37feaf742
# EXP-Topic config.register.web
configitems: register the 'web.csp' config

Patch

diff -r a32df78859db -r d456cf6065d8 mercurial/configitems.py
--- a/mercurial/configitems.py	ven. juin 30 03:45:38 2017 +0200
+++ b/mercurial/configitems.py	ven. juin 30 03:45:40 2017 +0200
@@ -606,6 +606,9 @@ 
 coreconfigitem('web', 'collapse',
     default=False,
 )
+coreconfigitem('web', 'csp',
+    default=None,
+)
 coreconfigitem('worker', 'backgroundclose',
     default=dynamicdefault,
 )