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

Require decoding of plus as space in query part of URL

    XMLWordPrintable

    Details

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

      Leave it as an option for servers to make moving to V4.02 as easy as possible.

      Make it a requirement for conforming clients, and add to section 13.3 Interoperable OData Clients between current rules 9 and 10:

      10. MUST encode the plus character (octet 0x2B) as %2B in URLs to avoid servers mis-interpreting the plus character as an encoded space

      Show
      Leave it as an option for servers to make moving to V4.02 as easy as possible. Make it a requirement for conforming clients, and add to section  13.3 Interoperable OData Clients between current rules 9 and 10: 10. MUST encode the plus character (octet 0x2B) as %2B in URLs to avoid servers mis-interpreting the plus character as an encoded space
    • Resolution:
      Show
      https://github.com/oasis-tcs/odata-abnf/pull/109 https://github.com/oasis-tcs/odata-specs/pull/203

      Description

      The WhatWG URL specification defines an API for manipulating URLs that uses application/x-www-form-urlencoded for parsing and serializing query options.

      This API encodes space (octet 0x20) as "+" (octet 0x2B), and consequently decodes "+" (octet 0x2B) as space (octet 0x20).

       This is a follow-up to ODATA-1539.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: