This commit is contained in:
parent
1af8c0702c
commit
9ec97d8aa2
@ -48,7 +48,7 @@ class GatewayClass {
|
|||||||
return null;
|
return null;
|
||||||
let auth = null;
|
let auth = null;
|
||||||
run_regex (
|
run_regex (
|
||||||
/(?:^|;)(?<name>[^;=]+)=(?<value>[^;]+)/gu,
|
/(?:^|;)\s*(?<name>[^;=]+)=(?<value>[^;]+)/gu,
|
||||||
req.headers.cookie,
|
req.headers.cookie,
|
||||||
(res: RegExpMatchArray) => {
|
(res: RegExpMatchArray) => {
|
||||||
if (res.groups?.name === this._options.cookie_name)
|
if (res.groups?.name === this._options.cookie_name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user