Description of problem: If you use the spacewalk xmlrpc api to create or update a config file the whitespaces at beginning and end of the file are removed. I have included a small python script to illustratate the issue. How reproducible: make a xmlrpc connection and create a file with whitespaces at beginning and/or end of the file with the api call "configchannel.create". Actual results: The white spaces are removed. Expected results: The white spaces should be in the file.
Created attachment 564729 [details] a python script to illustrate the issue
This has been addressed in Spacewalk 1.2. Please, check BZ#595500 for more information. *** This bug has been marked as a duplicate of bug 595500 ***