Skip to content

Commit 08d8ef7

Browse files
committed
fix: #12
1 parent 2bbe918 commit 08d8ef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/socket-proxy/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func httpProxyBlockedPaths(url string) bool {
8484
regexp.MustCompile(`(?i)secrets.*`), // could exfil credentials
8585
regexp.MustCompile(`(?i)configs.*`), // could exfil credentials
8686
regexp.MustCompile(`(?i)swarm/unlockkey.*`), // could exfil credentials
87-
regexp.MustCompile(`(?i)images/get.*`), // could exfil container data
87+
regexp.MustCompile(`(?i)images/get(/|)$`), // could exfil container data
8888
}
8989

9090
for _, pattern := range blockedPatterns {

0 commit comments

Comments
 (0)