Skip to content

unserialize: Deprecate the 'S' tag #12309

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

Merged
merged 1 commit into from
Aug 4, 2024
Merged

Conversation

TimWolla
Copy link
Member

@TimWolla TimWolla commented Sep 27, 2023

Support for this was added in 8f5310a for forward-compatibility with PHP 6. There should not be any data that is legitimately using this format and removing it simplifies the unserializer as a security-sensitive piece of code.

RFC: https://wiki.php.net/rfc/deprecations_php_8_4#unserialize_s_s_tag

@TimWolla
Copy link
Member Author

TimWolla commented Oct 3, 2023

Support for this was added in 8f5310a for
forward-compatibility with PHP 6. There should not be any data that is
legitimately using this format and removing it simplifies the unserializer as a
security-sensitive piece of code.
@TimWolla TimWolla merged commit ecd11b9 into php:master Aug 4, 2024
10 of 11 checks passed
@TimWolla TimWolla deleted the unserialize-S branch August 4, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants