You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Removed extra non-needed docs in repo
- Tweaked some wording.
- Added extra test scenarios.
- Added options to phpunit default env.
- Added auto-quote-handling for unsafe-inline CSS rule.
For #6033
1. Start with defaults to avoid unexpected breakage.
72
-
2. Set explicit `ALLOWED_CSS_SOURCES` and `ALLOWED_IMAGE_SOURCES` values for the domains you actually use.
73
-
3. Test key workflows (editor, page display, theme assets, external embeds) and browser console CSP warnings.
74
-
4. Remove unnecessary protocols and hosts over time.
75
-
76
34
## Code Standards
77
35
78
36
We use tools to manage code standards and formatting within the project. If submitting a PR, formatting as per our project standards would help for clarity but don't worry too much about using/understanding these tools as we can always address issues at a later stage when they're picked up by our automated tools.
Copy file name to clipboardExpand all lines: readme.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,6 @@ Big thanks to these companies for supporting the project.
100
100
## 🛠️ Development & Testing
101
101
102
102
Please see our [development docs](dev/docs/development.md) for full details regarding work on the BookStack source code.
103
-
For details on Content Security Policy controls (including image and CSS source options), see the **Content Security Policy Controls** section in the [development docs](dev/docs/development.md).
104
103
105
104
If you're just looking to customize or extend your own BookStack instance, take a look at our [Hacking BookStack documentation page](https://www.bookstackapp.com/docs/admin/hacking-bookstack/) for details on various options to achieve this without altering the BookStack source code.
0 commit comments