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)

Reply via email to