Actions
Bug #35530
closedsave_to_file macro does not work if the thing being saved contains a heredoc terminated with EOF
Difficulty:
Triaged:
Yes
Bugzilla link:
Description
save_to_file does
cat <<EOF >$file $content EOF
but if `$content` contains a heredoc terminated with `EOF`, it terminates the heredoc that save_to_file creates.
Updated by The Foreman Bot about 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/9426 added
Updated by Adam Ruzicka about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|38365d82c80fde10c0fe308586ebb18b2935ff91.
Updated by The Foreman Bot about 2 years ago
- Pull request https://github.com/theforeman/foreman/pull/9436 added
Updated by The Foreman Bot about 2 years ago
- Pull request https://github.com/theforeman/foreman/pull/9523 added
Updated by Ewoud Kohl van Wijngaarden about 2 years ago
- Triaged changed from No to Yes
Updated by Ewoud Kohl van Wijngaarden about 2 years ago
- Related to Bug #35814: save_to_file does not work as expected when a shell variable needs to be part of the saved file name added
Updated by Ewoud Kohl van Wijngaarden about 2 years ago
- Related to Bug #35792: save_to_file function should not use shellescape on the filename added
Actions