Bug 102588

Summary: Formbuilder dies when entering '&' in a field
Product: [Retired] Red Hat Web Application Framework Reporter: Daniel BerrangĂ© <berrange>
Component: otherAssignee: ccm-bugs-list
Status: CLOSED RAWHIDE QA Contact: Jon Orris <jorris>
Severity: medium Docs Contact:
Priority: medium    
Version: nightly   
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: 2003-12-09 23:06:56 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: 100952    

Description Daniel Berrangé 2003-08-18 12:59:01 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.9 (X11; Linux i686; U;) Gecko/20030314

Description of problem:
The formbuilder throws an exception if the user enters '&' in one of the  fields
for adding a widget to a form. THis is because the formbuilder stores these
attributes as an XML string, but doesn't take care to escape reserved characters.



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


How reproducible:
Always

Steps to Reproduce:
1. Create a Form item
2. Add a Text field
3. Enter 'Hello & World' in the 'label' field.
    

Actual Results:  Exception is thrown

Expected Results:  No exception is thrown

Additional info:

Fixed in p4 34870

Comment 1 Archit Shah 2003-11-18 21:44:31 UTC
fixed in 5.2.x (38128), dev (38129), and 6.0.x (38130)