Skip to content

Commit

Permalink
Fix url validaton failures (#2783)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
samm-git committed Aug 30, 2022
1 parent 2473b2c commit 2580ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/gitlab.tpl
Expand Up @@ -70,7 +70,7 @@
,
{{- end -}}
{
"url": "{{ . }}"
"url": "{{ regexFind "[^ ]+" . }}"
}
{{- end }}
]
Expand Down

0 comments on commit 2580ea1

Please sign in to comment.