diff --git a/sources/src/develocity/short-lived-token.ts b/sources/src/develocity/short-lived-token.ts index a0bfdb68..bf924805 100644 --- a/sources/src/develocity/short-lived-token.ts +++ b/sources/src/develocity/short-lived-token.ts @@ -156,7 +156,7 @@ type HostnameAccessKey = { } export class DevelocityAccessCredentials { - static readonly accessKeyRegexp = /^(\S+=\w+)(;\S+=\w+)*$/ + static readonly accessKeyRegexp = /^([^;=\s]+=\w+)(;[^;=\s]+=\w+)*$/ readonly keys: HostnameAccessKey[] private constructor(allKeys: HostnameAccessKey[]) {