OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (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:comment-tabpanel&focusedCommentId=31260#action_31260 ] 

Stefan Drees commented on ODATA-127:
------------------------------------

I second to use the latter approach of defining a separate rule for url-encoded whitespace but also propose to amend it by naming the rule ueWS instead of peWS. Reason: The percentage sign is only a symptom and not the core of the url encoding transformation scenario.

Motivation to **not**  change the existing whitespace rule from 

SP     = %x20 
HTAB   = %x09 
WSP    = SP / HTAB 

to

SP     = %20 
HTAB   = %09 
WSP    = SP / HTAB 

is for me to
1. not irritate by mixing eg. DIGIT  = %x30-39 and SP  = %20  in one grammar
2. not modify widely used convention for WSP
3. carefully separate character from transport encoding perspectives. 




> 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: Sub-task
>          Components: OData ABNF Construction Rules v1.0
>    Affects Versions: WD01
>         Environment: [Proposed]
>            Reporter: 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]