Skip to content

Commit 2580ea1

Browse files
authored
Fix url validaton failures (#2783)
While analyzing failure of the report schema validation i found URL looks like that: `https://ubuntu.com/security/notices/USN-5051-4 (regression only in trusty/esm)`. This causing gitlab to mark report as invalid. Patch provided just using first word of the url word.
1 parent 2473b2c commit 2580ea1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contrib/gitlab.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
,
7171
{{- end -}}
7272
{
73-
"url": "{{ . }}"
73+
"url": "{{ regexFind "[^ ]+" . }}"
7474
}
7575
{{- end }}
7676
]

0 commit comments

Comments
 (0)