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

fix: sanitize history versions data field #20143

Merged
merged 2 commits into from Apr 22, 2024
Merged

Conversation

remidej
Copy link
Contributor

@remidej remidej commented Apr 17, 2024

What does it do?

Sanitizes the data field in the history version controller

Why is it needed?

Passwords, even in their hashed version, should not be in the data object. This change aligns history with the behavior of the edit view

How to test it?

Go to the history page on a content type that has a password field. You shouldn't see any data for that password in the history page. Nothing else should change

Copy link

vercel bot commented Apr 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
contributor-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2024 9:11pm

@Marc-Roig
Copy link
Contributor

didn't QA but code looks good

@remidej remidej merged commit 7431ba9 into v5/main Apr 22, 2024
23 of 29 checks passed
@remidej remidej deleted the fix/sanitize-history branch April 22, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: fix This PR is fixing a bug source: core:content-manager Source is core/content-manager package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants