Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1076

Validating Query Options for correct syntax

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • (Java) V4 4.3.0
    • (Java) V4 4.4.0
    • odata4-server
    • None

    Description

      Currently if any query options are used incorrectly, the URL parser ignores the same and does not flag any error and the same affects the contents in result set, few examples
      ?$top=2 & skipp=19 --> "skip" mis-spelt as "skipp"
      ?$top=2 & $skip=19 --> Here skip is ignored (space between & and $)
      ?filter=Name eq 'XYZ' --> Here filter segment is ignored (missing $)

      Is it possible to add some validation in the URL parser?

      Attachments

        Activity

          People

            rareddy Ramesh Reddy
            nvsreddy VIJAYASIMHA R NAGA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: