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

Ref #77388 - disallow passing BAD_ESCAPE_IS_LITERAL, esp by default #4430

Closed

Conversation

SjonHortensius
Copy link
Contributor

this option is considered dangerous and unwanted by the author of pcre:

Absolutely! I'm a bit horrified to learn that somebody set it as a default. It is very much a use-with-care dangerous feature. I hope the PHP developers take note in due course.

While this is a B/C change - it is more likely to expose (existing) problems that can quickly be fixed by fixing the regexp. There were no objections against removing it on php-internals


this PR is a copy of #4429 - but using a proper feature-branch targeting master instead of PHP-7.4

this option is considered dangerous and unwanted
UPGRADING Outdated Show resolved Hide resolved
@nikic nikic added this to the PHP 8.0 milestone Jul 18, 2019
@php-pulls php-pulls closed this in 05752d3 Jul 18, 2019
@SjonHortensius SjonHortensius deleted the pcre-remove-bad-escape-literal branch July 18, 2019 09:00
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.

2 participants