Fix blank Font Awesome icons in preset themes (CSP font-src) and document H2 VALUE workaround - #183
Open
snoopdave wants to merge 2 commits into
Open
Fix blank Font Awesome icons in preset themes (CSP font-src) and document H2 VALUE workaround#183snoopdave wants to merge 2 commits into
snoopdave wants to merge 2 commits into
Conversation
The Content-Security-Policy meta tag added to the preset themes in 6.1.2 sets default-src 'none' with no font-src directive, so font fetches fall back to 'none' and every @font-face webfont is blocked while the CSS still loads. In the gaurav theme this leaves the Font Awesome icons (for example the search and "posted on" glyphs) blank even though the stylesheet applies. Add font-src 'self' so same-origin webfonts load again. All five preset themes carry the same policy string, so update them together to keep it consistent; gaurav is the one that ships webfonts today. Claude-Session: https://claude.ai/code/session_015X69HHQ5XnjRkJP8ymzwFf
H2 2.5.250 reserves VALUE, which several Roller tables use as a column name, so Roller fails to read them on that database. H2 is not an officially supported database, so document the ;NON_KEYWORDS=VALUE JDBC URL workaround in the install guide rather than changing the schema. Claude-Session: https://claude.ai/code/session_015X69HHQ5XnjRkJP8ymzwFf
mbien
approved these changes
Sep 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two small fixes prompted by a user testing 6.1.6 RC1.
Preset theme CSP blocks webfonts
The Content-Security-Policy meta tag added to the preset themes in 6.1.2 sets
default-src 'none'with nofont-srcdirective, so@font-facewebfonts fall back to'none'and are blocked, while the CSS still loads. In thegauravtheme this leaves the Font Awesome icons (the search box glyph, the "posted on" clock, etc.) blank even though the stylesheet applies.Adding
font-src 'self'restores same-origin webfonts. All five preset themes carry the same policy string, so they are updated together to keep it consistent;gauravis the one that actually ships webfonts today (Font Awesome 3.2.1 and Bootstrap Glyphicons, served same-origin).H2 2.5.250 reserves VALUE
H2 2.5.250 made
VALUEa reserved word, and several Roller tables use it as a column name (e.g.roller_properties), so Roller fails to read them on that H2. H2 is not an officially supported database (PostgreSQL, MySQL and Derby are), so this documents the;NON_KEYWORDS=VALUEJDBC URL workaround in the install guide rather than changing the schema.https://claude.ai/code/session_015X69HHQ5XnjRkJP8ymzwFf