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

CLONE -stats.jsp XML escaping

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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

              Slack

                Issue deployment