aboutsummaryrefslogtreecommitdiff
path: root/internal/ctlsock/sanitize_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/ctlsock/sanitize_test.go')
-rw-r--r--internal/ctlsock/sanitize_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/ctlsock/sanitize_test.go b/internal/ctlsock/sanitize_test.go
index bfdf0a7..d79fa7c 100644
--- a/internal/ctlsock/sanitize_test.go
+++ b/internal/ctlsock/sanitize_test.go
@@ -19,6 +19,7 @@ func TestSanitizePath(t *testing.T) {
{"foo/../..", ""},
{"foo/../../aaaaaa", ""},
{"/foo/../../aaaaaa", ""},
+ {"/////", ""},
}
for _, tc := range testCases {
res := SanitizePath(tc[0])