CSRF-Protector-PHP icon indicating copy to clipboard operation
CSRF-Protector-PHP copied to clipboard

Fix regex to find token in cookie

Open peng-ni opened this issue 3 years ago • 0 comments

In the case when the CSRFP token is not at the beginning of the cookie header, the current regex will fail to detect the token correctly because of wrong slash escape in expression.

peng-ni avatar May 25 '22 09:05 peng-ni