+++ This bug was initially created as a clone of Bug #1764224 +++
Description of problem:
Validation pattern on ConsoleCLIDownloads Href field is to restrictive.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Go to `/k8s/cluster/console.openshift.io~v1~ConsoleCLIDownload/~new`
2. Add trailing slash to the `href` field
Error will ocurre:
Error "Invalid value: "": spec.links.href in body should match '^https://([\w-]+.)+[\w-]+(/[\w- ./?%&=])?$'" for field "spec.links.href".
CR will be created
Check with 'https://www.example.com/' and it does successfully saved, the actual download link on page after created will remove the trailing slash.
This could be Verified.
Tested on 4.2.0-0.nightly-2019-10-27-140004
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.