Clarify meaning of trailing spaces in $search query option

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major
    • V4.01_ERRATA01
    • Affects Version/s: None
    • Component/s: URL Conventions
    • None
    • Hide

      The ABNF already allows whitespace between $search= and the search expression which is not considered part of the search expression.

      Also allow trailing whitespace after the search expression, and mention both leading and trailing whitespace in section 5.1.8.1 Search Expressions.

      Show
      The ABNF already allows whitespace between $search= and the search expression which is not considered part of the search expression. Also allow trailing whitespace after the search expression, and mention both leading and trailing whitespace in section  5.1.8.1 Search Expressions .
    • Show
      https://github.com/oasis-tcs/odata-abnf/pull/105 https://github.com/oasis-tcs/odata-specs/pull/201

      An implementation team asks how to treat trailing spaces in a $search query option, for example

      GET /Products?$search=blue%20
      

      Should the trailing space be treated as part of the search "word", or should it be ignored?

            Assignee:
            handl
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: