diff options
author | Valery Piashchynski <[email protected]> | 2021-06-09 10:49:29 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-09 10:49:29 +0300 |
commit | bf1e14fe15af995355d91d658c085a315e139e24 (patch) | |
tree | 547dadc010b8d4a5265f264175953a4d1f840234 /plugins/server/command.go | |
parent | 8020cbb83afbaaf4ea4e0321b1b6c24d38332887 (diff) |
- Update regex
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/server/command.go')
-rw-r--r-- | plugins/server/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/server/command.go b/plugins/server/command.go index a3752e7b..e0b61896 100644 --- a/plugins/server/command.go +++ b/plugins/server/command.go @@ -8,7 +8,7 @@ import ( ) // pattern for the path finding -const pattern string = `^\/*([A-z0-9/.:-]+\.(php|sh|ph))$` +const pattern string = `^\/*([A-z/.:-]+\.(php|sh|ph))$` func (server *Plugin) scanCommand(cmd []string) error { const op = errors.Op("server_command_scan") |