Skip to content

docs: key fragments per user and keep the file cache out of shared temp dirs - #5

Merged
muhammetsafak merged 3 commits into
mainfrom
docs/fix-unsafe-examples
Nov 24, 2026
Merged

muhammetsafak merged 3 commits into
mainfrom
docs/fix-unsafe-examples

Conversation

@muhammetsafak

Copy link
Copy Markdown
Contributor

Summary

Documentation-only change: examples that could be copied into an application in an unsafe form are corrected.

  • Key the navigation fragment recipe by user id
  • Use an application-owned directory for the File handler fallback and the option-case examples; add a note on why (cache files are unserialized) and create the directory with mode 0700

Notes

  • Only docs/ and README.md change; src/, tests and CI are untouched, and library behavior is unchanged.
  • wiki-sync.sh --check docs passes.

…mp dirs

- Key the navigation fragment recipe by user id
- Use an application-owned directory for the `File` handler fallback and the option-case examples; add a note on why (cache files are unserialized) and create the directory with mode 0700
- Use 0700 in the Installation, Troubleshooting and Testing snippets
- Give guests a shared key in the fragment recipe
- Note in the fragment recipe that the guest fragment must not contain a CSRF token or other per-session data
@muhammetsafak
muhammetsafak merged commit efe2549 into main Nov 24, 2026
10 checks passed
@muhammetsafak
muhammetsafak deleted the docs/fix-unsafe-examples branch November 24, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant