Bug 840700 - Remove XML content from Fixed URL's
Summary: Remove XML content from Fixed URL's
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: CSProcessor
Version: 1.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-17 01:26 UTC by Lee Newson
Modified: 2013-06-07 01:29 UTC (History)
3 users (show)

Fixed In Version: 0.26.0
Clone Of:
Environment:
Last Closed: 2013-06-07 01:29:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Lee Newson 2012-07-17 01:26:21 UTC
Currently if a title has XML elements in it, eg "Hello <literal>World</literal>" the fixed URL would be Hello_literalWorldliteral. As such the XML Elements should be stripped from the XML as well.

Comment 1 Lee Newson 2012-07-17 01:50:13 UTC
Fixed in 0.26.0

The builder will now remove XML elements from the Fixed URL's when it creates them.

Cause:

XML Elements weren't removed from the string before the it was escaped (or at all for that matter)

Consequence:

The fixed URL's were created with the XML element names in the URL. Since the XML is used for formatting and styling only this made the URL messy.

Fix:

Remove the XML elements from the string before it is escaped. See the createURLTitle() method in the DocbookBuilder class for more information.

Comment 2 Lee Newson 2013-06-07 01:29:10 UTC
Closing and setting as current release as no QA was performed by the original reporter. If there is still an issue with this bug still than please re-open it.


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