Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include CSRF <meta> elements in frame layout #697

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 29, 2024

  1. Include CSRF <meta> elements in frame layout

    Closes [hotwired#669][]
    
    If a response to a request with the `Turbo-Frame:` header does not
    include the `<meta>` elements in the `<html>` document, it's likely that
    the browser will remove any `<meta>` element present after handling
    navigating the `<turbo-frame>` that originated the request.
    
    In support of testing this behavior, this commit enables CSRF protection
    in the test suite.
    seanpdoyle committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    7f93935 View commit details
    Browse the repository at this point in the history