Created attachment 1805387 [details] error message Description of problem: Image input isn't trimming spaces at the begging of the text Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1.Start a VM wizard 2.Select a template and click next 3.Select boot source of import via registry 4.Try to enter a space at the beginning of the container image input Actual results: Show error message Expected results: Trim the unneeded spaces Additional info:
It's fixed for the 'import via registry', but not 'import via URL'. Matan, can we do this to URL as well?
Reproduced on OCP 4.8 and verified on latest master.Image input trim the unneeded spaces 1.Start a VM wizard and select a template 2.Select boot source of import via registry 3.Enter a space at the beginning of the container image input Image input trim spaces at the begging of the text.
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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days