Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1579

CLONE -stats.jsp XML escaping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.4.1, 1.5, 3.1, 4.0-ALPHA
    • Admin UI
    • None

    Description

      The fix to SOLR-1008 was wrong. It used chardata escaping for a value that is an attribute value.

      I.e. instead of XML.escapeCharData it should call XML.escapeAttributeValue.

      Otherwise, any query used as a key in the filter cache whose printed representation contains a double-quote character causes invalid XML to be generated.

      Attachments

        1. SOLR-1579.patch
          0.5 kB
          David Bowen

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              dbowen David Bowen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified