You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/de/tum/cit/ase/ares/api/aop/java/aspectj/adviceandpointcut/JavaAspectJFileSystemAdviceDefinitions.aj
+44-1Lines changed: 44 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -932,7 +932,7 @@ public aspect JavaAspectJFileSystemAdviceDefinitions extends JavaAspectJAbstract
932
932
// A student can create and name their own directory tree, so a suffix-only
933
933
// match would let them craft a path ending in one of those exact strings and
934
934
// bypass pathsAllowedToBeCreated entirely.
935
-
if (violation ==null||isPathWithin(violation, TRUSTED_DEFAULT_TEMP_DIR)) {
935
+
if (violation ==null||isExplicitDirectoryTheTrustedDefaultTempDir(explicitDirectory)) {
Copy file name to clipboardExpand all lines: src/main/java/de/tum/cit/ase/ares/api/aop/java/instrumentation/advice/JavaInstrumentationAdviceFileSystemToolbox.java
0 commit comments