Searched defs:canonicalPath (Results 1 - 1 of 1) sorted by relevance

/opengrok/src/org/opensolaris/opengrok/index/
H A DIndexDatabase.java695 String canonicalPath = file.getCanonicalPath();
696 if (!absolutePath.equals(canonicalPath)
697 && !acceptSymlink(absolutePath, canonicalPath)) {
700 new Object[]{absolutePath, canonicalPath});
761 * @param canonicalPath the canonical path to the file
764 private boolean acceptSymlink(String absolutePath, String canonicalPath) throws IOException { argument
766 if (isLocal(canonicalPath)) {
773 if (canonicalPath.startsWith(allowedTarget)
774 && absolutePath.substring(allowedSymlink.length()).equals(canonicalPath.substring(allowedTarget.length()))) {

Completed in 11 milliseconds