Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-1109

[Backport 7.9] From repository servlet, trim the xpath/sql query param before encoding

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.26.07
    • Labels:
    • Similar issues:
    • Sprint:
      Sprint 91

      Description

      I've now been bitten multiple times by a copy-paste query into the repository servlet that looks for example like

      //*[@hippo:availability]

      which does not return any result and does not give any exception. Typically after debugging, I finally find the leading space being the culprit.

      Note the 7.8 these queries did return results

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: