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

URL Conventions example in 5.1.1.5.1 has "bad" whitespace

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: V4.01_CS02
    • Component/s: URL Conventions
    • Labels:
      None
    • Proposal:
      Hide

       Use the same interpretation as RFC7230 for BWS and state this in ABNF Construction Rules:

      The BWS rule is used where the grammar allows optional whitespace
      only for historical reasons. A sender MUST NOT generate BWS in
      messages. A recipient MUST parse for such bad whitespace and remove
      it before interpreting the protocol element.

      Repair examples in URL Conventions.

       

      Show
       Use the same interpretation as RFC7230 for BWS and state this in ABNF Construction Rules: The BWS rule is used where the grammar allows optional whitespace only for historical reasons. A sender MUST NOT generate BWS in messages. A recipient MUST parse for such bad whitespace and remove it before interpreting the protocol element. Repair examples in URL Conventions.  

      Description

      http://host/service/Customers?$filter=concat(concat(City,', '), Country) eq 'Berlin, Germany'

      The space before Country is not permitted by the ABNF construction rules.

      (Or else, my interpretation of "BWS" is wrong)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              evan.ireland.2 Evan Ireland
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: