-
Notifications
You must be signed in to change notification settings - Fork 284
Open
Description
mustache.java/compiler/src/main/java/com/github/mustachejava/resolver/FileSystemResolver.java
Line 45 in a1197f7
| File parent = file.getCanonicalFile(); |
The line above gets the canonical path of the file and this check will break when "file" is a symbolic link .
My example:
- file abs: /local/asdf/_env/asdf-swit1na.18021267.375759313.1848829265/static-content/templates/asdf.html.mustache
- parent abs: /local/asdf/package/local_1/Generic/asdf/asdf-441.0-0/static-content/templates/asdf html.mustache
- checkRoot abs: /local/asdf/_env/asdf-swit1na.18021267.375759313.1848829265
And under directory: /local/apollo/_env/asdf-swit1na.18021267.375759313.1848829265
- static-content -> ../../package/local_1/Generic/asdf/asdf-441.0-0/static-content
Metadata
Metadata
Assignees
Labels
No labels