Created attachment 1864136 [details] Invalid Git URL There was a discussion around the following scenario that prompted the need to track this as a bug. This is not likely to be handled in the current release due to time constraints and lack of consistency across the rest of the app. Scenario The user accesses the 'Import from git' form and copy/pastes a link into the git repo field. This paste comes with an extra whitespace (before or after). The user doesn't recognize this issue and attempts to move on with the form. They see the following without any context that there is an additional whitespace: Desired Outcome? There are a few ways we can try to address this issue: Trim the whitespace (on field blur / form save) so the issue isn't apparent / ever a problem Provide a clearer message to the user (less desirable, as it's a programmatically fixable error) Prevent invalid characters (in this case whitespace) into the field (aka trim on paste) Consideration Footnotes There is concern about uniquely handling this issue on this one form for the dev console. We should look to make a more generic UX stance on how to handle these issues and isolate the portions of the application that can suffer from this same problem. We should take extra care not to trim whitespace in special fields that use whitespace legitimately (such as secret and config map data) cc [~sdoyle], [~gamore], Steve Speicher
verified this on 4.11.0-0.nightly-2022-03-09-235248
Hello Jira ¯\_(ツ)_/¯
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 (Important: OpenShift Container Platform 4.11.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-2022:5069