Bug 102588 - Formbuilder dies when entering '&' in a field
Summary: Formbuilder dies when entering '&' in a field
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: other
Version: nightly
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks: 100952
TreeView+ depends on / blocked
 
Reported: 2003-08-18 12:59 UTC by Daniel Berrangé
Modified: 2007-04-18 16:56 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-09 23:06:56 UTC
Embargoed:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.