Konrad Windszus created SLING-12806:
---------------------------------------

             Summary: Prevent creating resources with a name only consisting of 
dots
                 Key: SLING-12806
                 URL: https://issues.apache.org/jira/browse/SLING-12806
             Project: Sling
          Issue Type: Improvement
          Components: ResourceResolver
            Reporter: Konrad Windszus


As "." and ".." are used as path specifier in ResourceResolver.getResource(...) 
creating resources with name only consisting of dots should be prevented in 
https://github.com/apache/sling-org-apache-sling-resourceresolver/blob/9d6a2680668963972376b05c7f731d5908af6407/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverImpl.java#L1049
 (similar to what is done already for names containing {{/}})



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to