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

[VUFIND-1713] Refactor custom CSRF logic for compatibility with future laminas-validator releases #4161

Merged
merged 3 commits into from
Dec 16, 2024

Conversation

demiankatz
Copy link
Member

@demiankatz demiankatz commented Dec 13, 2024

The laminas-validator package is dropping its CSRF validator (in favor of a new version found in laminas-session). The new class is final, so it cannot be extended. This PR redesigns our SessionCsrf class as a proxy around the new Laminas class.

TODO

@demiankatz demiankatz added dependencies Pull requests that update a dependency file architecture pull requests that involve significant refactoring / architectural changes labels Dec 13, 2024
@demiankatz demiankatz added this to the 11.0 milestone Dec 13, 2024
@demiankatz
Copy link
Member Author

All tests are passing!

@demiankatz demiankatz merged commit e300edc into vufind-org:dev Dec 16, 2024
6 checks passed
@demiankatz demiankatz deleted the vufind-1713 branch December 16, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture pull requests that involve significant refactoring / architectural changes dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants