Fossil SCM

Fix typo in default-src direcive spec.

ashepilko 2020-04-08 18:53 trunk
Commit f64f757edad53ee768ce3624b43cbab2d72b173282ea65eb0d49a699f33d7a10
1 file changed +2 -2
+2 -2
--- www/defcsp.md
+++ www/defcsp.md
@@ -319,20 +319,20 @@
319319
320320
The best place to do that is from the [`th1-setup`
321321
script](./th1-hooks.md), which runs before TH1 processing happens during
322322
skin processing:
323323
324
- $ fossil set th1-setup "set default_csp {default-src: 'self'}"
324
+ $ fossil set th1-setup "set default_csp {default-src 'self'}"
325325
326326
This is the cleanest method, allowing you to set a custom CSP without
327327
recompiling Fossil or providing a hand-written `<head>` section in the
328328
Header section of a custom skin.
329329
330330
You can’t remove the CSP entirely with this method, but you can get the
331331
same effect by telling the browser there are no content restrictions:
332332
333
- $ fossil set th1-setup 'set default_csp {default-src: *}'
333
+ $ fossil set th1-setup 'set default_csp {default-src *}'
334334
335335
336336
### <a name="header"></a>Custom Skin Header
337337
338338
Fossil only inserts a CSP into the HTML pages it generates when the
339339
--- www/defcsp.md
+++ www/defcsp.md
@@ -319,20 +319,20 @@
319
320 The best place to do that is from the [`th1-setup`
321 script](./th1-hooks.md), which runs before TH1 processing happens during
322 skin processing:
323
324 $ fossil set th1-setup "set default_csp {default-src: 'self'}"
325
326 This is the cleanest method, allowing you to set a custom CSP without
327 recompiling Fossil or providing a hand-written `<head>` section in the
328 Header section of a custom skin.
329
330 You can’t remove the CSP entirely with this method, but you can get the
331 same effect by telling the browser there are no content restrictions:
332
333 $ fossil set th1-setup 'set default_csp {default-src: *}'
334
335
336 ### <a name="header"></a>Custom Skin Header
337
338 Fossil only inserts a CSP into the HTML pages it generates when the
339
--- www/defcsp.md
+++ www/defcsp.md
@@ -319,20 +319,20 @@
319
320 The best place to do that is from the [`th1-setup`
321 script](./th1-hooks.md), which runs before TH1 processing happens during
322 skin processing:
323
324 $ fossil set th1-setup "set default_csp {default-src 'self'}"
325
326 This is the cleanest method, allowing you to set a custom CSP without
327 recompiling Fossil or providing a hand-written `<head>` section in the
328 Header section of a custom skin.
329
330 You can’t remove the CSP entirely with this method, but you can get the
331 same effect by telling the browser there are no content restrictions:
332
333 $ fossil set th1-setup 'set default_csp {default-src *}'
334
335
336 ### <a name="header"></a>Custom Skin Header
337
338 Fossil only inserts a CSP into the HTML pages it generates when the
339

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button