diff options
Diffstat (limited to 'internal/helper/security_test.go')
-rw-r--r-- | internal/helper/security_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/helper/security_test.go b/internal/helper/security_test.go index 9a8125dac..12b909577 100644 --- a/internal/helper/security_test.go +++ b/internal/helper/security_test.go @@ -19,7 +19,7 @@ func TestContainsPathTraversal(t *testing.T) { } for _, tc := range testCases { - assert.Equal(t, tc.containsTraversal, ContainsPathTraversal(tc.path)) + assert.Equal(t, tc.containsTraversal, ContainsPathTraversal("/repo/storage/path", tc.path)) } } |