Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1475

How to search for double quotes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_OS
    • Fix Version/s: V4.01_ERRATA01
    • Component/s: URL Conventions
    • Labels:
      None
    • Proposal:
      Hide

      Add a sentence to OData-URL, section 5.1.8.1:

      To support type-ahead use cases, incomplete search expressions can be sent as OData string literals enclosed in single-quotes, and single-quotes within the search expression doubled. Such an expression can also be used to search for double quotes: ?$search='"'.

       

      Show
      Add a sentence to OData-URL, section 5.1.8.1: To support type-ahead use cases, incomplete search expressions can be sent as OData string literals enclosed in single-quotes, and single-quotes within the search expression doubled. Such an expression can also be used to search for double quotes: ?$search='"' .  
    • Resolution:
      Show
      https://github.com/oasis-tcs/odata-specs/pull/171

      Description

      The ABNF rules for $search do not allow clear-text or percent-encoded double quotes (") in search words and search phrases.

      As a consequence it is not possible to search for double quotes.

      Note: the prose specification and the ABNF allow to enclose an "incomplete" search expression in single quotes, but do not define how services should interpret "incomplete" search expressions.

        Attachments

          Activity

            People

            • Assignee:
              heiko.theissen Heiko Theissen
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: