diff --git a/spec/schemas/analysis.schema.json b/spec/schemas/analysis.schema.json index 2619c8d..3f2f152 100644 --- a/spec/schemas/analysis.schema.json +++ b/spec/schemas/analysis.schema.json @@ -137,7 +137,7 @@ "relative_path": { "type": "string", "minLength": 1, - "pattern": "^(?!/)(?!.*::)(?!.*(^|/)\\.\\.?(/|$))(?![A-Za-z]:)(?!.*\\\\)(?!.*//).*$" + "pattern": "^(?!/)(?![A-Za-z]:)(?!.*\\\\)(?!.*//)(?!.*(?:^|/)\\.\\.?(?:/|$)).*$" }, "source_digest": {"type": "string", "pattern": "^[0-9a-f]{64}$"}, "source": {"type": "string"},