Skip to content

Releases: katterfelto/osmtools

More security fixes

Choose a tag to compare

@katterfelto katterfelto released this 23 Jul 12:32
Fix CSP inline script/style hash mismatches

- Normalize templates/index.html to LF line endings; browsers
  normalize CRLF to LF before hashing inline <script> content per
  the HTML5 spec, causing a hash mismatch against the CSP whitelist.
- Update the script-src hash in main.go to match the LF-normalized
  content.
- Whitelist the ionicons library's inline style hash in style-src
  instead of using unsafe-inline.
- Add .gitattributes to enforce LF line endings for templates/*.html
  so Windows checkouts don't reintroduce CRLF and break the hash again.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

v0.4.0

Choose a tag to compare

@katterfelto katterfelto released this 23 Jul 10:05

Updated go modules to handle security alerts

v0.3.0

Choose a tag to compare

@katterfelto katterfelto released this 23 Jul 09:51

Adjusted CSP so ion-icons are displayed correctly

v0.2.0

Choose a tag to compare

@katterfelto katterfelto released this 23 Jul 09:35

Update security

Initial release

Choose a tag to compare

@katterfelto katterfelto released this 30 May 21:53
v0.1.0

adjusted docker publish action