Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3677

[Backport 3.2] SearchInputParsingUtils should not allow apostrof '

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2
    • Component/s: None
    • Similar issues:
    • Flagged:
      Flagged
    • Sprint:
      Platform sprint 131
    • Processed by team:
      Platform

      Description

      In the org.hippoecm.hst.util.SearchInputParsingUtils#parse method, the character apostrof is not removed by the removeInvalidAndEscapeChars and then the call to foldToASCIIReplacer will replace it with a single '
      This will then cause the jcr query to break.
      Maybe the ascii replacement can be executed first and then remove the invalid chars?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aschrijvers Ard Schrijvers
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: