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

Admin UI - Query View doesn't highlight (json) Result if it contains HTML Tags

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1, 4.2, 4.3, 4.4
    • 4.5, 6.0
    • Admin UI
    • None

    Description

      If wt=json is used and the document does contain HTML-Tags (like f.e. <br> the tags are not escaped - that means the browser interprets it as linebreak, which does lead to invalid json.

      Attachments

        1. SOLR-5174-before.png
          44 kB
          Stefan Matheis
        2. SOLR-5174-after.png
          46 kB
          Stefan Matheis
        3. SOLR-5174.patch
          0.4 kB
          Stefan Matheis

        Issue Links

          Activity

            Commit 1515527 from steffkes in branch 'dev/trunk'
            [ https://svn.apache.org/r1515527 ]

            SOLR-5174: Admin UI - Query View doesn't highlight (json) Result if it contains HTML Tags

            jira-bot ASF subversion and git services added a comment - Commit 1515527 from steffkes in branch 'dev/trunk' [ https://svn.apache.org/r1515527 ] SOLR-5174 : Admin UI - Query View doesn't highlight (json) Result if it contains HTML Tags

            Commit 1515528 from steffkes in branch 'dev/branches/branch_4x'
            [ https://svn.apache.org/r1515528 ]

            SOLR-5174: Admin UI - Query View doesn't highlight (json) Result if it contains HTML Tags (merge r1515527)

            jira-bot ASF subversion and git services added a comment - Commit 1515528 from steffkes in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1515528 ] SOLR-5174 : Admin UI - Query View doesn't highlight (json) Result if it contains HTML Tags (merge r1515527)
            jpountz Adrien Grand added a comment -

            4.5 release -> bulk close

            jpountz Adrien Grand added a comment - 4.5 release -> bulk close

            People

              steffkes Stefan Matheis
              steffkes Stefan Matheis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: