1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-26 18:21:01 +00:00
miniflux-v2/internal/template/templates/common
jvoisin da9c3a4032 feat(js): tighten the trusted types policy
- Implement a better/simpler polyfill for web browsers that don't supported
  trusted types yet
- Use two separate policies: one to create HTML, another to create/use script
  urls
- Instead of having the policy live in the top-level scope, they're now
  declared at the lowest possible scope, right before they're used, making them
  inaccessible outside of it. This puts their usage completely out of reach of
  an attacker unable to gain some control outside of those two (small) scopes,
  and thus removes the need to tighten the policies.
- Remove the now-unused tt.js file

This has been tested on Firefox (doesn't support trusted types) and on Chromium
(does support trusted types).
2025-08-21 19:41:45 -07:00
..
feed_list.html refactor(template): remove some useless attributes 2025-08-15 17:55:49 -07:00
feed_menu.html Replace link has button role with button tag 2024-02-09 17:09:30 -08:00
item_meta.html refactor: Replace "Bookmarks" with "Starred" 2025-08-20 20:49:45 -07:00
layout.html feat(js): tighten the trusted types policy 2025-08-21 19:41:45 -07:00
pagination.html Add navigation to last/first page 2024-06-28 20:19:38 -07:00
settings_menu.html add nav landmark to settings and feed menu 2024-02-04 10:47:30 -08:00