Compare commits
1 Commits
8d639aa258
...
5f998c6e70
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f998c6e70 |
18
TODO.md
18
TODO.md
@@ -42,7 +42,7 @@ remaining policy scaffold is otherwise complete.
|
||||
`Content-Security-Policy`, `X-Frame-Options` and `Permissions-Policy`. The CSP
|
||||
is `default-src 'none'` with `style-src 'unsafe-inline'`, which the built page
|
||||
supports exactly: it has no script, img, link, iframe, form or media element
|
||||
and no `style=`/`on*=` attribute, only the one inline `<style>` block
|
||||
and no `style=`/`on*=` attribute, only the one inline `<style>` block
|
||||
`baseof.html` fills by `readFile`. Verified in a headless Chrome against a
|
||||
local server that parses the committed `_headers` and applies it as real
|
||||
response headers: zero CSP violations, the inlined stylesheet parses to 17
|
||||
@@ -54,6 +54,7 @@ remaining policy scaffold is otherwise complete.
|
||||
DNS and it is served by this same Pages project, so this file sets HSTS on its
|
||||
responses directly, and `includeSubDomains` would instead bind every future
|
||||
subdomain for a year with no way to walk it back inside the max-age window
|
||||
without also dropping the apex protection.
|
||||
- 2026-08-09: restructured `README.md` into the canonical section set (closes
|
||||
#11): a Description first line, then Getting Started, Entrypoints, Rationale,
|
||||
Design, TODO, License, Author. The non-standard About / Contributing /
|
||||
@@ -204,11 +205,16 @@ remaining policy scaffold is otherwise complete.
|
||||
here (#20)
|
||||
- Move the deploy container to a pinned node 22 so the wrangler pin can advance
|
||||
past 4.86.0 (#21)
|
||||
- After the next deploy, confirm the `_headers` file actually took effect:
|
||||
`curl -sSI https://lora.vegas/` must show `strict-transport-security` or
|
||||
`content-security-policy`. Cloudflare Pages silently ignores a malformed
|
||||
`_headers`, and checking `x-content-type-options` would pass either way
|
||||
because the edge sends it regardless (#14)
|
||||
- After the next deploy, confirm the `_headers` file actually took effect, on
|
||||
both `https://lora.vegas/` and `https://www.lora.vegas/`: `curl -sSI` against
|
||||
each must show `strict-transport-security` or `content-security-policy`.
|
||||
Cloudflare Pages silently ignores a malformed `_headers`, and checking
|
||||
`x-content-type-options` would pass either way because the edge sends it
|
||||
regardless. `www` has to be checked too and not just the apex: dropping
|
||||
`includeSubDomains` rests on `www.lora.vegas` being served by this same Pages
|
||||
project, which was established behaviourally from identical response bodies
|
||||
rather than from the Cloudflare dashboard. If `www` turns out not to be
|
||||
covered, the `includeSubDomains` decision has to be revisited (#14)
|
||||
- Decide the HSTS `includeSubDomains` and `preload` posture for `lora.vegas`.
|
||||
Both are owner calls: neither can be walked back inside the max-age window,
|
||||
and `includeSubDomains` binds hostnames this repo does not control (#14)
|
||||
|
||||
Reference in New Issue
Block a user