Description of problem: Using a git HTTPS URL with .git suffix like "https://github.com/sclorg/django-ex.git" when adding a deployment the edit link in topology links to an invalid (GitHub) URL "https://github.com/sclorg/django-ex.git/tree/master" which results in a 404 Error. Using the git SSH URL "git:sclorg/django-ex.git" when adding a deployment, the edit link in topology links to an invalid page on the cluster ("http://localhost:9000/git@github.com:sclorg/django-ex.git/tree/master") which results also in a 404 Error. Prerequisites (if any, like setup, operators/versions): Need to be tested with and without Che / Workspace operator Steps to Reproduce Create deployments with this git URLs for the different uses cases: "https://github.com/sclorg/django-ex" "https://github.com/sclorg/django-ex.git" "git:sclorg/django-ex.git Open the Topology and click the edit sourcecode links of the deployments in the bottom right corner.
VERIFIED on 4.7.0-0.nightly-2020-12-04-013308 Link properly takes you to Github when using a link that has a suffix of `.git`
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.7.0 security, bug fix, and enhancement 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-2020:5633