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

Add checks for resource strings #930

Merged
merged 2 commits into from
Oct 24, 2023
Merged

Conversation

Slendy
Copy link
Contributor

@Slendy Slendy commented Oct 24, 2023

Pretty self-explanable. This PR prevents people from trying to put payloads in resource hashes like path traversals or HTML escapes. I don't think this needs an entire migration, it should be relatively simple for server owners to fix any occurrences of invalid resources and I don't think the issue is that widespread at the moment.

@Slendy Slendy requested review from Zaprit and sudokoko October 24, 2023 20:56
Copy link
Member

@Zaprit Zaprit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@sudokoko sudokoko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks fine

@sudokoko sudokoko added this pull request to the merge queue Oct 24, 2023
Merged via the queue into LBPUnion:main with commit 58664a2 Oct 24, 2023
1 check passed
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