git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Commented] (ARIES-1874) Servlet registration should use / instead of "" to be compliant with HTTP whiteboard spec


    [ https://issues.apache.org/jira/browse/ARIES-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16719852#comment-16719852 ] 

ASF subversion and git services commented on ARIES-1874:
--------------------------------------------------------

Commit 53cba2813937f2cc1ae76f5105282421896bdaf6 in aries-jax-rs-whiteboard's branch refs/heads/master from [~csierra]
[ https://gitbox.apache.org/repos/asf?p=aries-jax-rs-whiteboard.git;h=53cba28 ]

[ARIES-1874] Use "/" as path for default ServletContextHelper


> Servlet registration should use / instead of "" to be compliant with HTTP whiteboard spec
> -----------------------------------------------------------------------------------------
>
>                 Key: ARIES-1874
>                 URL: https://issues.apache.org/jira/browse/ARIES-1874
>             Project: Aries
>          Issue Type: Bug
>          Components: jax-rs-whiteboard
>    Affects Versions: jax-rs-whiteboard-1.0.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: jax-rs-whiteboard-1.0.2
>
>
> According to the spec:
> {code}
> For ServletContextHelper services, the value of this service property must be of type String. The value is either a slash for the root or it must start with a slash but not end with a slash. Valid characters are defined in rfc3986#section-3.3. Contexts with an invalid path are ignored. 
> {code}
> So, JAXRS Whiteboard should use {{/}} for instance instead of {{""}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)