You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2014/02/28 02:55:19 UTC
[jira] [Created] (FELIX-4440) dots in pathinfo's are removed for
include requests
Tobias Bocanegra created FELIX-4440:
---------------------------------------
Summary: dots in pathinfo's are removed for include requests
Key: FELIX-4440
URL: https://issues.apache.org/jira/browse/FELIX-4440
Project: Felix
Issue Type: Bug
Components: HTTP Service
Reporter: Tobias Bocanegra
the pathinfo of a included request does not contain any dots. this is a regression of FELIX-2774 and a bug in org.apache.felix.http.base.internal.util.UriUtils#removeDotSegments
the following test fails:
{code}
assertEquals("/test.jsp", removeDotSegments("/test.jsp"));
{code}
as it also removes the '.'. according to RFC-3986 section 5.2.4, it should only remove the path segments '/./' and '/../'.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)