Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Added default cookie path #41

Closed
wants to merge 1 commit into from
Closed

Added default cookie path #41

wants to merge 1 commit into from

Conversation

edelprino
Copy link

Sometimes, with some urls different from the root, the path of csrf cookie change. When you try to post the request, the validator does not receive the right cookie and throw an error of invalid csrf invalid session.

This problem made me crazy for the last two days... 馃槥

@dougwilson dougwilson added the pr label Dec 4, 2014
@dougwilson dougwilson self-assigned this Dec 4, 2014
@edelprino
Copy link
Author

@dougwilson, what do you think about? 馃槂

@dougwilson
Copy link
Contributor

We need to default all this. In fact, I think this is a big enough footgun that I may major version bump very soon to get this changed.

@dougwilson
Copy link
Contributor

Thanks @edelprino , published as 1.7.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants