Cherry-pick MM-66789: Restrict log downloads to a root path for support packets (#35164)
Automatic Merge
Этот коммит содержится в:
@@ -36,6 +36,9 @@ func TestGenerateSupportPacket(t *testing.T) {
|
||||
assert.NoError(t, err)
|
||||
})
|
||||
|
||||
// Set MM_LOG_PATH to allow log file reads from our temp directory
|
||||
t.Setenv("MM_LOG_PATH", dir)
|
||||
|
||||
th.App.UpdateConfig(func(cfg *model.Config) {
|
||||
*cfg.LogSettings.FileLocation = dir
|
||||
*cfg.NotificationLogSettings.FileLocation = dir
|
||||
|
||||
Ссылка в новой задаче
Block a user