Details
-
Bug
-
Resolution: Incomplete
-
Major
-
None
-
1.8 M1
-
None
-
titles escape quote
-
Description
Lets say I create a new document http://nielsmayer.com/xwiki/bin/edit/Timeline/foobar
- for Title, enter "this title has "quoted" words in it"
- click "save and view"
- the breadcrumbs show correct: "Timeline: this title has "quoted" words in it" ; it also displays correct in browser title-bar.
- Click "Edit" on that document ( http://nielsmayer.com/xwiki/bin/edit/Timeline/foobar )
- Note the title is now "this title has " : the part after first entered '"' is truncated
- Note that other scipts that use the title now fail, e.g. http://nielsmayer.com/xwiki/bin/view/Timeline/TL1?action=xml&xpage=rdf (XML Parsing Error: not well-formed)
- Removing the '"' character from the title fixes the failing scripts, and the title is preserved between saves and views.
I was unable to use any combination of "e; %22 or other means by which i thought i could escape a quote that needed to be in a title.
Note that using those replacements worked, they just didn't display quotes, just the original codes. Backquoting was ignored...
Attachments
Issue Links
- duplicates
-
XWIKI-4417 Title with single quote shows up HTML-encoded in breadcrumb
- Closed
- is duplicated by
-
XE-336 Creating pages with "__" in the Name gives Error
- Closed