fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Timo Hocker 2021-01-12 22:04:24 +01:00
parent 1af8c0702c
commit 9ec97d8aa2

View File

@ -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)