| Summary: | Double escaping html strings | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Stanislav Graf <sgraf> |
| Component: | cumin | Assignee: | Chad Roberts <croberts> |
| Status: | CLOSED ERRATA | QA Contact: | Stanislav Graf <sgraf> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | Development | CC: | croberts, matt, tmckay |
| Target Milestone: | 2.3 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | cumin-0.1.5492-1 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: Strings containing special XML characters were being double-escaped.
Consequence: Text containing special XML characters was being displayed incorrectly.
Fix: Our xml_escape routine is now preventing double-escaping.
Result: Strings that contain special XML characters should now display correctly.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-06 18:43:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Stanislav Graf
2012-04-02 08:19:32 UTC
The same with drilling into submitted job. 'Details tab' with queue name or job description looks ok, but Breadcrumbs above are broken. (In reply to comment #1) > The same with drilling into submitted job. 'Details tab' with queue name or job > description looks ok, but Breadcrumbs above are broken. Yes, this is probably a bug. This comes under my comment from 438142: "There are a few other places where I inadvertently created double escapes, like breadcrumbs, however these are harder to track down and no legitimate objects are at all likely to contain <, &, or > anyway so the double escape doesn't really matter." Also present in Go to cumin-grid-configuration-'Create tag' Changed the title of this BZ. This is a general problem that I believe can be handled in the xml_escape() routine itself. The code needs to check for escape sequences in the string passed in and act accordingly. Fixed in trunk revision 5470. Tested on RHEL 5/6 i386/x86_64 cumin-0.1.5648-1 Comment 0 Comment 1 - Job submission is sanitized for XML special characters Comment 4 --> VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0564.html |