You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have published ABNF rules for OData request URLs
odataUri
odataRelativeUri
resourcePath
queryOptions
which are much complicated by the fact that they are defined for percent-encoded URLs. Because of ODATA-1583, much of these rules must be duplicated for the context rule, which (being a URL fragment) needs different percent-encoding.
It would be much easier if we assume that the "raw" URL has already been split and percent-decoded in compliance with the WHATWG URL Standard and provide grammars for the components of a URL:
path
search parameter name
search parameter value
fragment
Consider writing an alternative set of grammars with this approach.
ralfhandl
changed the title
Separation of concerns: ABNF for URL components instead of whole URLs
Separation of concerns: grammar for URL components instead of whole URLs
Mar 27, 2024
We have published ABNF rules for OData request URLs
which are much complicated by the fact that they are defined for percent-encoded URLs. Because of ODATA-1583, much of these rules must be duplicated for the context rule, which (being a URL fragment) needs different percent-encoding.
It would be much easier if we assume that the "raw" URL has already been split and percent-decoded in compliance with the WHATWG URL Standard and provide grammars for the components of a URL:
Consider writing an alternative set of grammars with this approach.
Imported from ODATA-1606
The text was updated successfully, but these errors were encountered: