Github user martin-g commented on a diff in the pull request:

    https://github.com/apache/wicket/pull/107#discussion_r26284011
  
    --- Diff: 
wicket-core/src/main/java/org/apache/wicket/markup/html/PackageResourceGuard.java
 ---
    @@ -85,7 +85,8 @@ protected boolean acceptAbsolutePath(String path)
                int len = path.length();
                final String ext;
                if (ixExtension <= 0 || ixExtension == len ||
    -                   (path.lastIndexOf(File.separator) + 1) == ixExtension)
    --- End diff --
    
    What is wrong here with `File.separator` ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to