Solr
  1. Solr
  2. SOLR-5174

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1, 4.2, 4.3, 4.4
    • Fix Version/s: 4.5, Trunk
    • Component/s: web gui
    • Labels:
      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.

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

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

          Commit 1515527 from Stefan Matheis (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

          Show
          ASF subversion and git services added a comment - Commit 1515527 from Stefan Matheis (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
          Hide
          ASF subversion and git services added a comment -

          Commit 1515528 from Stefan Matheis (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)

          Show
          ASF subversion and git services added a comment - Commit 1515528 from Stefan Matheis (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)
          Hide
          Adrien Grand added a comment -

          4.5 release -> bulk close

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

            People

            • Assignee:
              Stefan Matheis (steffkes)
              Reporter:
              Stefan Matheis (steffkes)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development