mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
fix: check exact match on command allow list
This commit is contained in:
parent
b0f92dd2d7
commit
e2e1e49130
2 changed files with 3 additions and 9 deletions
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
// ParseCommand parses the command taking in account if the current
|
||||
// instance uses a shell to run the commands or just calls the binary
|
||||
// directyly.
|
||||
// directly.
|
||||
func ParseCommand(s *settings.Settings, raw string) ([]string, error) {
|
||||
var command []string
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue