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
If routes contain complicated (and inefficient) patterns for parameters the pcre.backtrack_limit or other limits can be reached when checking for matching routes. FastRoute should check if preg_match returned false and abort routing with an error instead of silently treating this as not matching routes.
The following example shows that on PHP7 with default pcre.backtrack_limit the second route will not match on paths with more than 14 characters.
If routes contain complicated (and inefficient) patterns for parameters the pcre.backtrack_limit or other limits can be reached when checking for matching routes. FastRoute should check if preg_match returned false and abort routing with an error instead of silently treating this as not matching routes.
The following example shows that on PHP7 with default pcre.backtrack_limit the second route will not match on paths with more than 14 characters.
The text was updated successfully, but these errors were encountered: