Skip to content

The less than character (<) breaks DynamicCodeBlockInput when used as a special character if navigating away from a page where it is used #1237

@sync-by-unito

Description

@sync-by-unito

What You Are Seeing?

When using the DynamicCodeBlockInput within the docs (for example, in the new Org Guide) I noticed that using a less than character (<) as a special character in the password broke the PowerShell script used to install Org Guide components, specifically the Jenkins component. If navigating back and forth between pages, it removes the final single quote (') in the script, breaking it.

What is Expected?

The DynamicCodeBlockInput should allow the use of any special character available when creating passwords for maximum security, and users should be able to navigate freely within the Org Guide without worry of having a script break.

How Did You Get This To Happen? (Steps to Reproduce)

  1. Input a password in the somePassword field on the Jenkins Org Guide page that does not have a less than character (<).
  2. Navigate forward a page using the Next button, then navigate back using the Previous button at the bottom of the page.
  3. Verify that the password is wrapped with single quotes ('passwordhere').
  4. Input a password in the somePassword field on the Jenkins Org Guide page that does have a less than character (<).
  5. Navigate forward a page using the Next button, then navigate back using the Previous button at the bottom of the page.
  6. Verify that the password is wrapped with single quotes ('passwordhere).

Screenshot with a password without a less than character (<):

Screenshot with a password with a less than character (<):

┆Issue is synchronized with this Github issue by Unito

Metadata

Metadata

Assignees

Labels

2 - WorkingA user or team member has started working on the issueBugIssues where something has happened which was not expected or intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions