You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/12/12 16:02:00 UTC
[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=16719125#comment-16719125 ]
ASF subversion and git services commented on ARIES-1874:
--------------------------------------------------------
Commit 53cba2813937f2cc1ae76f5105282421896bdaf6 in aries-jax-rs-whiteboard's branch refs/heads/ARIES-1874 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)