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

Decode scrubbed entities back into user-facing (but sanitized) text #3880

Merged
merged 2 commits into from Mar 18, 2024

Conversation

mitchray
Copy link
Member

Perhaps counter-intuitively, we do want to scrub_out $rule[2], then convert any encoded chars back into 'normal' text after it has been sanitized

Copy link

codeclimate bot commented Mar 15, 2024

Code Climate has analyzed commit 93df381 and detected 0 issues on this pull request.

View more on Code Climate.

@lachlan-00
Copy link
Member

cool, now i'll just need to make sure the search gets the correct data as well.

There seems to be some extra stripping/encoding going on on the input part but i'll fix that up. i'll just have to make sure that input isn't being used as a direct input
image

@lachlan-00 lachlan-00 self-assigned this Mar 15, 2024
i *think* i've got them all but will need to check
@lachlan-00
Copy link
Member

i've had a quick look and removed the stripping it looks okay but i just need to confirm that all $input is parameterised.

@lachlan-00 lachlan-00 merged commit d9b7bc0 into ampache:develop Mar 18, 2024
5 checks 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.

None yet

2 participants