Skip to content

Commit 512a9ca

Browse files
author
Alan Christie
committed
JobDefinition files need to be url-compliant
1 parent ccadfbe commit 512a9ca

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

decoder/manifest-schema.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ properties:
1919
description:
2020
type: string
2121
job-definition-files:
22+
# Filenames must be url-compliant strings.
23+
# Here we limited to starting with a letter
24+
# followed by letters, numbers or . - _
25+
# and ending '.yaml' or '.yml'
2226
type: array
2327
items:
2428
type: string
25-
pattern: '^.{1,}(.yaml|.yml)$'
29+
pattern: '^[a-zA-Z]{1,}[a-zA-Z0-9._-]{0,}(.yaml|.yml)$'
2630
maxLength: 255
2731
minItems: 1
2832
required:

0 commit comments

Comments
 (0)