Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-376

characters entered as document title must be escaped or a cascade of bugs occur

    XMLWordPrintable

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

          Activity

            People

              tmortagne Thomas Mortagne
              nielsmayer Niels Mayer, http://nielsmayer.com
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: