Bug 1934184 - When generating the import cluster string, it can include unescaped characters
Summary: When generating the import cluster string, it can include unescaped characters
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Cluster Lifecycle
Version: rhacm-2.1
Hardware: All
OS: All
unspecified
high
Target Milestone: ---
: rhacm-2.1.6
Assignee: cahl
QA Contact: Hui Chen
Christopher Dawson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-02 16:37 UTC by Felix Dewaleyne
Modified: 2022-02-28 09:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-26 15:56:11 UTC
Target Upstream Version:
Embargoed:
huichen: qe_test_coverage+
ming: rhacm-2.1.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github open-cluster-management backlog issues 9983 0 None None None 2021-03-02 17:07:39 UTC
Red Hat Product Errata RHSA-2021:1369 0 None None None 2021-04-26 15:58:10 UTC

Description Felix Dewaleyne 2021-03-02 16:37:29 UTC
Description of problem:
When generating an import cluster command, the generated command can include unescaped characters in the echo structure

Version-Release number of selected component (if applicable):
2.1

How reproducible:
customer environment

Steps to Reproduce:
1. click on clusters
2. click on import cluster
3. copy text

Actual results:
the string can include unescaped characters such as == that can be interpreted by the terminal incorrectly

Expected results:
the string includes quotes to escape the characters so that they aren't interpreted incorrectly

Additional info:
a sample provided included == at the end which, unescaped, caused errors.
escaping the string fixes the issue.

Comment 2 Felix Dewaleyne 2021-03-16 09:54:04 UTC
version is 2.1.4 more precisely

Comment 9 errata-xmlrpc 2021-04-26 15:56:11 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: Red Hat Advanced Cluster Management 2.1.6 security and bug fix updates), 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:1369


Note You need to log in before you can comment on or make changes to this bug.