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

Replace uses of deprecated FILTER_SANITIZE_STRING #1095

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

iandunn
Copy link
Member

@iandunn iandunn commented Oct 18, 2023

FILTER_SANITIZE_STRING is deprecated in PHP 8.1 and throws notices when used.

These all appear to be simply trying to get the value, rather than doing any sanitization. That means that FILTER_UNSAFE_RAW is the appropriate replacement.

See https://stackoverflow.com/a/69207369/450127

These all appear to be simply trying to get the value, rather than doing any sanitization. That means that `FILTER_UNSAFE_RAW` is the appropriate replacement.

See https://stackoverflow.com/a/69207369/450127
@iandunn iandunn self-assigned this Oct 18, 2023
@iandunn iandunn force-pushed the deprecated-sanitize-string branch from e03120a to 5346575 Compare October 18, 2023 18:54
@iandunn iandunn marked this pull request as ready for review October 18, 2023 18:57
@iandunn iandunn merged commit 059cfc3 into production Oct 18, 2023
3 checks passed
@iandunn iandunn deleted the deprecated-sanitize-string branch October 18, 2023 18:58
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.

1 participant