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

Erasing CsrfProtection control value is ignored [Closes #39] #40

Closed
wants to merge 1 commit into from

Conversation

ZZromanZZ
Copy link
Contributor

This pull request solves the problem, but there is better way, I think.

For example, when you use some filter form with two buttons (filter and reset). Reset button submit invokes setting default values -> erasing all values including CsrfProtection -> CsrfProtection fail.

@ZZromanZZ ZZromanZZ changed the title Erasing CsrtProtection control value is ignored [Closes #39] Erasing CsrfProtection control value is ignored [Closes #39] Oct 15, 2014
@fprochazka
Copy link
Contributor

A test case would be nice.

@hrach
Copy link
Contributor

hrach commented Oct 15, 2014

this should be somehow solved in csrf control. or by introducing a new interface, or sth else. this is bad design.

@ZZromanZZ
Copy link
Contributor Author

Yeah, I know this pull request is garbage, but, at least, someone finally noticed :)

@dg dg closed this in 46875ea Oct 26, 2014
dg added a commit that referenced this pull request Oct 26, 2014
dg added a commit to nette/nette that referenced this pull request Oct 29, 2014
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.

3 participants