[
http://issues.ops4j.org/jira/browse/PAXWEB-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_11375
]
Alin Dreghiciu commented on PAXWEB-92:
--------------------------------------
Added a clarification request on OSGi Alliance as
https://www.osgi.org/members/bugzilla/show_bug.cgi?id=708
> "/" not allowed as an internal name for registerResources
> ---------------------------------------------------------
>
> Key: PAXWEB-92
> URL: http://issues.ops4j.org/jira/browse/PAXWEB-92
> Project: Pax Web
> Issue Type: Bug
> Components: HttpService
> Affects Versions: 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.4.0, 0.4.1
> Reporter: Alin Dreghiciu
> Assignee: Alin Dreghiciu
> Fix For: 0.5.0
>
>
> Section 102.11.3.2 specifies that:
> "The name parameter must also not end with slash ('/')"
> This means that also an internal name of "/" (ends with a slash) should not
> be allowed, so Pax Web throws an exception on a resource registration with an
> internal name of "/".
> But by looking to the rest of the spec there are places that suggests that
> "/" should be allowed as for example:
> * Table 102.6
> * Section 102.4 Mapping HTTP Requests to Servlet and Resource Registrations
> that on item 2 "An internal name of "/" is considered to have the value of
> the empty string ("") during this process."
> So, seems like the "/" internal name should be allowed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general