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
and in that case processing that uses forRegex will need to decide whether the first or second capture group matched and, in the case where the second capture group matched, do the appropriate replacement to remove backslashes.
The text was updated successfully, but these errors were encountered:
While auditing some internal code for a common mistake made in regex patterns, we discovered a vendored copy of this line:
handlers/proxy_headers.go
Line 25 in 3e03024
The line currently reads
It was likely intended to read
however, even that is not correct according to rfc7239. If we wish to follow the RFC, then the
forRegex
should be defined asand in that case processing that uses
forRegex
will need to decide whether the first or second capture group matched and, in the case where the second capture group matched, do the appropriate replacement to remove backslashes.The text was updated successfully, but these errors were encountered: