Bug 1942694

Summary: Resource names with a colon do not display property in the browser window title
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Siva Reddy <schituku>
Severity: low Docs Contact:
Priority: low    
Version: 4.8CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Resource names with a colon were not being decoded prior to being displayed in the browser window title. Consequence: As a result, colons in resource names were displaying as %3A since they were url encoded. Fix: Resource names are now url decoded before being displayed in the browser window title. Result: Resource names with a colon not display as expected in the browser window title.
Story Points: ---
Clone Of: Environment:
Version: 4.8.0-0.nightly-2021-03-22-064955 Cluster ID: a6ed01e4-f276-4ea8-8e60-6c71ff515ab3 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:87.0) Gecko/20100101 Firefox/87.0
Last Closed: 2021-07-27 22:55:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Incorrect tab title
none
ScreenShot showing correct tab title none

Description Samuel Padgett 2021-03-24 18:29:07 UTC
Created attachment 1766003 [details]
Incorrect tab title

The resource names with special characters like `:` don't render properly in the browser tab title. The special characters are URL encoded, so `:` is replaced with `%3A`. See screenshot.

Comment 2 Siva Reddy 2021-03-30 15:37:28 UTC
Created attachment 1767730 [details]
ScreenShot showing correct tab title

Now the tab title shows not encoded but regular text for title

Version:
4.8.0-0.nightly-2021-03-26-054333

Steps to verify:
 1. Login to admin console and select "openshift" project from Home>Projects
 2. Go to Builds>Image Streams > tag details and click a tag with colon in the name

Now the tab title shows regular text instead of encoded text. Screen shot attached

Comment 5 errata-xmlrpc 2021-07-27 22:55:28 UTC
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.8.2 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:2438