Project

General

Profile

Actions

Bug #11849

closed

Multi-line input containting \r\n causes issues when using inside the ssh scripts

Added by Ivan Necas over 8 years ago. Updated over 5 years ago.

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

Description

1. run command action
2. use multiline command as the input
3. the lines in the input are separated by '\r\n'

This leads to `$'\r': command not found` when running the command.

The solution is to sanitize the script before running it to remove the '\r'
characters.

Actions #1

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to 85
  • Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/8 added
  • Pull request deleted ()
Actions #2

Updated by Ivan Necas over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Ivan Necas over 8 years ago

  • translation missing: en.field_release set to 85
Actions

Also available in: Atom PDF