From 982f7d2de92a6fa3592739d23c76db8e21a1ebee Mon Sep 17 00:00:00 2001 From: daz Date: Thu, 13 Jun 2024 13:20:43 -0600 Subject: [PATCH] More --- sources/src/develocity/short-lived-token.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/src/develocity/short-lived-token.ts b/sources/src/develocity/short-lived-token.ts index 73fda35..f7344b9 100644 --- a/sources/src/develocity/short-lived-token.ts +++ b/sources/src/develocity/short-lived-token.ts @@ -159,8 +159,8 @@ 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+)*$/ + static readonly accessKeyRegexp4 = /^([\w\.]+=\w+)(;[\w\.]+=\w+)*$/ + static readonly accessKeyRegexp5 = /^(\S+=\d+)(;\S+=\d+)*$/ readonly keys: HostnameAccessKey[] private constructor(allKeys: HostnameAccessKey[]) {