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

functions.inc.php: escape minus in regex #165

Merged
merged 1 commit into from
Dec 9, 2018

Conversation

julianbrost
Copy link
Contributor

This makes CGP work on PHP 7.3 as it otherwise only shows an "Unknown
host" error message and logs the following PHP warning:

PHP Warning: preg_match(): Compilation failed: invalid range in
character class at offset 4 in .../inc/functions.inc.php on line 37

Apart from that, CGP seems to work fine with PHP 7.3.

This makes CGP work on PHP 7.3 as it otherwise only shows an "Unknown
host" error message and logs the following PHP warning:

PHP Warning:  preg_match(): Compilation failed: invalid range in
character class at offset 4 in .../inc/functions.inc.php on line 37
@pommi pommi merged commit 72acfcb into pommi:master Dec 9, 2018
@pommi
Copy link
Owner

pommi commented Dec 9, 2018

Thanks 👍

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