You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error message for lookbehind assertion of not fixed length has changed in new libpcre2 version to:
Compilation failed: length of lookbehind assertion is not limited at offset 0
This breaks error handling in StatixPrefixCollection::handleError, which checks for:
public static function handleError(int $type, string $msg): bool
{
return str_contains($msg, 'Compilation failed: lookbehind assertion is not fixed length');
}
Downgrading libpcre2 solves the issue.
How to reproduce
Update system to libpcre2-10.43 (on Gentoo systems this gets pulled automatically)
Run symfony console cache:clear on a project with declared route prefixes
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Symfony version(s) affected
7.0.3
Description
The error message for lookbehind assertion of not fixed length has changed in new libpcre2 version to:
This breaks error handling in
StatixPrefixCollection::handleError
, which checks for:Downgrading
libpcre2
solves the issue.How to reproduce
libpcre2-10.43
(on Gentoo systems this gets pulled automatically)symfony console cache:clear
on a project with declared route prefixesPossible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: