|
@@ -194,7 +194,7 @@ SECURE_CONTENT_SECURITY_POLICY = Config(
|
|
|
help=_('X-Content-Type-Options: nosniff This is a HTTP response header feature that helps prevent attacks based on MIME-type confusion.'),
|
|
help=_('X-Content-Type-Options: nosniff This is a HTTP response header feature that helps prevent attacks based on MIME-type confusion.'),
|
|
|
type=str,
|
|
type=str,
|
|
|
default="script-src 'self' 'unsafe-inline' 'unsafe-eval' *.google-analytics.com *.doubleclick.net *.mathjax.org data:;"+
|
|
default="script-src 'self' 'unsafe-inline' 'unsafe-eval' *.google-analytics.com *.doubleclick.net *.mathjax.org data:;"+
|
|
|
- "img-src 'self' *.google-analytics.com *.doubleclick.net data:;"+
|
|
|
|
|
|
|
+ "img-src 'self' *.google-analytics.com *.doubleclick.net *.tile.osm.org data:;"+
|
|
|
"style-src 'self' 'unsafe-inline';"+
|
|
"style-src 'self' 'unsafe-inline';"+
|
|
|
"connect-src 'self';"+
|
|
"connect-src 'self';"+
|
|
|
"child-src 'none';"+
|
|
"child-src 'none';"+
|
|
@@ -329,7 +329,6 @@ LEAFLET_TILE_LAYER = Config(
|
|
|
LEAFLET_TILE_LAYER_ATTRIBUTION = Config(
|
|
LEAFLET_TILE_LAYER_ATTRIBUTION = Config(
|
|
|
key="leaflet_tile_layer_attribution",
|
|
key="leaflet_tile_layer_attribution",
|
|
|
help=_("The copyright message for the specified Leaflet maps Tile Layer"),
|
|
help=_("The copyright message for the specified Leaflet maps Tile Layer"),
|
|
|
- type=coerce_str_lowercase,
|
|
|
|
|
default='© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors')
|
|
default='© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors')
|
|
|
|
|
|
|
|
POLL_ENABLED = Config(
|
|
POLL_ENABLED = Config(
|