mirror of
https://github.com/gradle/actions
synced 2024-11-27 11:52:24 +00:00
Update DV access key regex to be more selective
This should address the code-scanning alert https://github.com/gradle/actions/security/code-scanning/1
This commit is contained in:
parent
9c3430720d
commit
8dbe9a3802
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ type HostnameAccessKey = {
|
||||||
}
|
}
|
||||||
|
|
||||||
export class DevelocityAccessCredentials {
|
export class DevelocityAccessCredentials {
|
||||||
static readonly accessKeyRegexp = /^(\S+=\w+)(;\S+=\w+)*$/
|
static readonly accessKeyRegexp = /^([^;=\s]+=\w+)(;[^;=\s]+=\w+)*$/
|
||||||
readonly keys: HostnameAccessKey[]
|
readonly keys: HostnameAccessKey[]
|
||||||
|
|
||||||
private constructor(allKeys: HostnameAccessKey[]) {
|
private constructor(allKeys: HostnameAccessKey[]) {
|
||||||
|
|
Loading…
Reference in a new issue