Bug 497910

Summary: Editing Cobbler Snippets in WebUI removes some special characters.
Product: [Community] Spacewalk Reporter: Jeremy Mueller <jmueller>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Jesus M. Rodriguez <jesusr>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5CC: bperkins, cperry
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 12:06:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 456554    

Description Jeremy Mueller 2009-04-27 20:12:26 UTC
Description of problem:

If you edit a Cobbler snippet through the WebUI, you will lose the following characters:
< (less than)
> (greater than)
{ (left curly bracket)
} (right curly bracket)
( (left parenthesis)
) (right parenthesis)

Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1.  You may have to run "chown tomcat.tomcat /var/lib/cobbler/snippets" so that the WebUI can write to the snippet files.
2.  Create a Cobbler snippet through the WebUI containing the above characters.
3.  Save the snippet and either view it again through the WebUI or the command line.
  
Actual results:

The six special characters mentioned above (<>,(),{}) are removed from the file.

Expected results:

No characters are stripped from the file.

Additional info:

Comment 1 Justin Sherrill 2009-07-31 16:24:50 UTC
This appears to be fixed in the current devel code.  Couldn't find the commit sadly, but moving to on_qa for more testing.

Comment 2 Miroslav Suchý 2009-09-10 12:06:03 UTC
Spacewalk 0.6 released