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

bug: v1.8 loaders have empty request.headers when called after action #4826

Closed
wants to merge 1 commit into from

Commits on Dec 11, 2022

  1. bug: v1.8 loaders have empty request.headers when called after action

    Prior to Remix v1.8.0 the loader function when called subsequentially to
    a (POST) action would have the request's `headers` set. Since v1.8 this
    is not the case anymore.
    
    This is highlyt problematic. For example, if you have some high level
    session based cookie which is used to guard GET request in the page
    action (or a parent layout route); the authentication would fail every
    time the loaders data is retrieved subsequentially to a POST action.
    nrako committed Dec 11, 2022
    Configuration menu
    Copy the full SHA
    9c063cc View commit details
    Browse the repository at this point in the history