Details

      Description

      DDMStructureImpl doesn't escape input parameters when constructing XPath.

      How to reproduce:
      1, create new Document type in Document Library
      2, add Select metadata field
      3, change the Select's options, into value 2 insert (including quotes and apostrophe) "Tom's cats"
      4, save
      5, create new document with this Document type and select "Option 2"
      6, publish document
      7, show document - there should be error in the log: org.dom4j.InvalidXPathException: Invalid XPath expression: //dynamic-element[@name="select2167"] //dynamic-element[@value=""Tom's cats""] Expected: ]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              albert.lee Albert Lee
              Reporter:
              tomas.polesovsky Tomáš Polešovský
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 2 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2