You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2017/01/03 13:17:58 UTC

[jira] [Created] (SLING-6432) Avoid path parameter parsing with paths containing a dot

Carsten Ziegeler created SLING-6432:
---------------------------------------

             Summary: Avoid path parameter parsing with paths containing a dot
                 Key: SLING-6432
                 URL: https://issues.apache.org/jira/browse/SLING-6432
             Project: Sling
          Issue Type: Improvement
          Components: ResourceResolver
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Resource Resolver 1.5.10


Currently parameter parsing (PathParser) takes place if the path does neither contain a dot nor a semi-colon. However, a path only contains a parameter if there is a semi-colon, so we can reduce the check to just check for a semi-colon and skip parsing regardless whether the path contains a dot or not.
This is a minor optimization



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)