Multi-line input containting \r\n causes issues when using inside the ssh scripts
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'
#2 Updated by Ivan Necas almost 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_proxy_plugin|1a2941c1207c24d493c1f1ff6f0490015dab3611.