[ http://issues.ops4j.org/jira/browse/PAXWEB-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_10803 ]
David Leangen commented on PAXWEB-41: ------------------------------------- 1. I Agree that http://abc.def.com/abc is indeed very different URL from http://abc.def.com/abc/. 2. I Agree that we need to follow the spec to the letter (at least when run in "default" mode). 3. I Agree that Pax Wicket needs to be fixed (new issue filed: http://issues.ops4j.org/jira/browse/PAXWICKET-14) You are correct that the spec says that the "string" must match identically. Ah! That's different from "URI". So, I guess that puts an end to the debate here, since we just want to follow the spec. I'm still thinking that "string" should be replaced by "URI" in the spec, though, to account for normalization, but I have higher priority things to do than to bring this up with OSGi. In any case, I wonder if we're still ignoring 102.4 para 6 in the spec: If there is no match, the Http Service must attempt to match sub-strings of the requested URI to registered aliases. The sub-strings of the requested URI are selected by removing the last "/" and everything to the right of the last "/". In that case, maybe I shouldn't be getting a 404 for my requests? > Ignore slashes in the middle of a URL > ------------------------------------- > > Key: PAXWEB-41 > URL: http://issues.ops4j.org/jira/browse/PAXWEB-41 > Project: Pax Web > Issue Type: Improvement > Reporter: David Leangen > Assignee: Alin Dreghiciu > > As discussed somewhat in http://issues.ops4j.org/jira/browse/PAXWEB-31, a URL > should ignore extra slashes in the middle of a URL. > In other words, the following URLs should both resolve to the same resource: > http://host/path/to/resource > http://host/////path///////to///////resource -- 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 general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general