Skip to content

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