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
fs.StringVar(&builtinIncrementalRestorePath, "builtinbackup-incremental-restore-path", builtinIncrementalRestorePath, "the directory where incremental restore files, namely binlog files, are extracted to. In k8s environments, this should be set to a directory that is shared between the vttablet and mysqld pods. The path should exist. When empty, the default OS temp dir is assumed.")
180
181
}
181
182
182
-
// fullPath returns the full path of the entry, based on its type
183
+
// fullPath returns the full path of the entry, based on its type.
184
+
// It validates that the resolved path does not escape the base directory
185
+
// via path traversal (e.g. "../../" sequences in fe.Name).
0 commit comments