diff --git a/sources/src/develocity/short-lived-token.ts b/sources/src/develocity/short-lived-token.ts index b6a06f4..73fda35 100644 --- a/sources/src/develocity/short-lived-token.ts +++ b/sources/src/develocity/short-lived-token.ts @@ -158,6 +158,9 @@ type HostnameAccessKey = { export class DevelocityAccessCredentials { static readonly accessKeyRegexp = /^(\S+=\w+)(;\S+=\w+)*$/ static readonly accessKeyRegexp2 = /^([^\s]+=\w+)(;\S+=\w+)*$/ + static readonly accessKeyRegexp3 = /^([^;\s]+=\w+)(;[^;\s]+=\w+)*$/ + // static readonly accessKeyRegexp4 = /^([\w\.]+=\w+)(;[\w\.]+=\w+)*$/ + // static readonly accessKeyRegexp5 = /^(\S+=\w+)(;\S+=\w+)*$/ readonly keys: HostnameAccessKey[] private constructor(allKeys: HostnameAccessKey[]) {