Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix preg_match in enforceHttpEncoding (#4623)
`preg_match` can return `1`, `0` or `false`. In this last case, `enforceHttpEncoding` was trying to access `$matches[1]`, even if the regex wasn't matching.
- Loading branch information