sftpgo/common
Nicola Murino 719f6077ab
don't expose underlying errors to clients
log them and return a generic failure

Fixes #896

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
2022-06-28 22:08:16 +02:00
..
actions.go allow to refuse an upload from a sync upload hook 2022-06-16 18:42:17 +02:00
actions_test.go allow to refuse an upload from a sync upload hook 2022-06-16 18:42:17 +02:00
clientsmap.go modules: add v2 support 2021-06-26 07:31:41 +02:00
clientsmap_test.go allow to limit the number of per-host connections 2021-05-08 19:45:21 +02:00
common.go add httpfs 2022-06-11 10:41:34 +02:00
common_test.go allow to store temporary sessions within the data provider 2022-05-19 19:49:51 +02:00
connection.go don't expose underlying errors to clients 2022-06-28 22:08:16 +02:00
connection_test.go don't expose underlying errors to clients 2022-06-28 22:08:16 +02:00
dataretention.go allow to customize timeout and env vars for program based hooks 2022-05-20 19:30:54 +02:00
dataretention_test.go make the sdk a separate module 2022-01-06 11:54:43 +01:00
defender.go trim values for string lists which can be set as env vars 2022-05-31 18:22:18 +02:00
defender_test.go defender: allow to load blocklist/safelist also from config/env vars 2022-05-13 14:46:07 +02:00
defenderdb.go remove the use of some unnecessary pointers 2022-01-16 12:09:17 +01:00
defenderdb_test.go SFTPGo is now listed on Azure Marketplace 2022-03-17 14:59:02 +01:00
defendermem.go remove the use of some unnecessary pointers 2022-01-16 12:09:17 +01:00
httpauth.go add experimental plugin system 2021-07-11 15:26:51 +02:00
httpauth_test.go Use new methods in the io and os packages instead of ioutil ones 2021-02-25 21:53:04 +01:00
protocol_test.go allow to refuse an upload from a sync upload hook 2022-06-16 18:42:17 +02:00
ratelimiter.go trim values for string lists which can be set as env vars 2022-05-31 18:22:18 +02:00
ratelimiter_test.go rate limiting: allow to exclude IP addresses/ranges 2021-10-03 20:50:05 +02:00
tlsutils.go trim values for string lists which can be set as env vars 2022-05-31 18:22:18 +02:00
tlsutils_test.go allow different TLS certificates for each binding 2022-05-21 16:34:47 +02:00
transfer.go allow to refuse an upload from a sync upload hook 2022-06-16 18:42:17 +02:00
transfer_test.go allow to mount virtual folders on root (/) path 2022-04-02 18:32:46 +02:00
transferschecker.go add support for data transfer bandwidth limits 2022-01-30 11:42:36 +01:00
transferschecker_test.go always check recently updated users 2022-04-30 11:59:36 +02:00