[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (ODATA-127) Whitespace in URLs must be percent-encoded
[ http://tools.oasis-open.org/issues/browse/ODATA-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralf Handl updated ODATA-127:
-----------------------------
Proposal:
Restrict whitespace in URLs to the absolute minimum (e.g. exactly one between property name and asc/desc in $orderby, exactly one around operators in $filter expressions, none around commas and parentheses, ...).
(
Use peWS = "%20" / "%09" in all URL-relevant rules.
XOR
Follow the proposal in ODATA-137 and require URI query parts to be partially percent-decoded before applying the grammar rules.
)
was:
Use
peWS = "%20" / "%09"
in all URL-relevant rules.
Restrict whitespace in URLs to the absolute minimum (e.g. exactly one between property name and asc/desc in $orderby, exactly one around operators in $filter expressions, none around commas and parentheses, ...).
> Whitespace in URLs must be percent-encoded
> ------------------------------------------
>
> Key: ODATA-127
> URL: http://tools.oasis-open.org/issues/browse/ODATA-127
> Project: OASIS Open Data Protocol (OData) TC
> Issue Type: Bug
> Components: OData ABNF Construction Rules v1.0
> Affects Versions: WD01
> Environment: [Proposed]
> Reporter: Ralf Handl
> Assignee: Ralf Handl
> Priority: Minor
> Fix For: WD01
>
>
> Some ABNF construction rules for URL constituents allow whitespace, e.g. rules contributing to the $filter system query option. Currently these rules use the WSP sub-rule which allows the space and horizontal-tab character. These characters are not allowed in URLs and must be percent-encoded.
> So we need to either
> - redefine the whitespace rule to
> WSP = "%20" / "%09"
> or
> - define a rule for precent-encoded whitespace
> peWS = "%20" / "%09"
> and use it in URL-relevant rules.
> The latter approach is more explicit and less misleading as the current definition of WSP is a widely used convention
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]