Project

General

Profile

Actions

Bug #37898

closed

Copy to clipboard button copies script with HTML entities

Added by Jeremy Lenz about 2 months ago. Updated 24 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When using the 'Copy to clipboard' button on the script that virt_who_configure gave me, it copied it to the clipboard with HTML entities. This causes an error when I try to run the script.

Lines like

 [ "$1" = "$2" ] && return 1 || version_lte $1 $2

actually show up as

[ "$1" = "$2" ] && return 1 || version_lte $1 $2

and cause

./virt.sh: line 15: syntax error near unexpected token `;&'
./virt.sh: line 15: `  [ "$1" = "$2" ] && return 1 || version_lte $1 $2'

Actions #1

Updated by Jeremy Lenz about 2 months ago

  • Red Hat JIRA set to SAT-28732
Actions #2

Updated by The Foreman Bot 29 days ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lucy Fu
  • Pull request https://github.com/theforeman/foreman_virt_who_configure/pull/206 added
Actions #3

Updated by Lucy Fu 24 days ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF