Red Hat Bugzilla – Bug 856586
After creating new file using Satellite API which ends with new lines "\n" these empty lines are lost.
Last modified: 2013-03-07 19:13:25 EST
*** Description of problem:
When I'm trying to create the new config file using API which looks like: "Test\n\n\n\n" - then the last 4 x \n are lost.
*** Version-Release number of selected component (if applicable):
*** How reproducible:
See the attached script.
*** Steps to Reproduce:
1. See the attached script.
*** Actual results:
The empty new lines are lost from the config files.
*** Expected results:
The empty lines should be preserved (they should not be changed).
*** Additional info:
Created attachment 612067 [details]
You have to base64 encode the content, if you want to preserve whitespace.
*** This bug has been marked as a duplicate of bug 595500 ***