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: plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/codescan/sessionconfig/CodeScanSessionConfig.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ class CodeScanSessionConfig(
196
196
files.forEach { file ->
197
197
try {
198
198
val relativePath ="${project.name}/${file.relativeTo(projectRoot.toNioPath())}"
199
-
if (relativePath.contains("../")) {
199
+
if (relativePath.contains("../")|| relativePath.contains("..\\")) {
0 commit comments