rclone/fs/config
Nick Craig-Wood 27eb8c7f45 config: stop config create making invalid config files
If config create was passed a parameter with an embedded \n it wrote
it straight to the config file which made it invalid and caused a
fatal error reloading it.

This stops keys and values with \r and \n being added to the config
file.

See: https://forum.rclone.org/t/how-to-control-bad-remote-creation-which-takes-rclone-down/37856
2023-05-03 11:40:30 +01:00
..
configfile config: add more unit tests of save 2023-04-08 21:48:21 +02:00
configflags fs: Add --max-delete-size a delete size threshold 2023-03-08 17:12:31 +00:00
configmap all: fix spelling across the project 2022-08-30 11:16:26 +02:00
configstruct Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
flags fs: make all duration flags take y, M, w, d etc suffixes 2022-11-14 15:13:49 +00:00
obscure Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
testdata Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
authorize.go authorize: add support for custom templates 2023-02-24 15:08:38 +00:00
config_read_password_unsupported.go fs/config, lib/terminal: use golang.org/x/term 2022-04-01 12:48:18 +01:00
config_read_password.go fs/config, lib/terminal: use golang.org/x/term 2022-04-01 12:48:18 +01:00
config_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
config.go config: stop config create making invalid config files 2023-05-03 11:40:30 +01:00
crypt_internal_test.go config: split up main file more and move tests into correct packages 2021-03-11 17:29:26 +00:00
crypt_test.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
crypt.go Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
default_storage_test.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
default_storage.go config: replace defaultConfig with a thread-safe in-memory implementation 2021-05-07 16:04:09 +01:00
rc_test.go config: add config/setpath for setting config path via rc/librclone 2022-12-15 12:41:30 +00:00
rc.go config: add config/setpath for setting config path via rc/librclone 2022-12-15 12:41:30 +00:00
ui_test.go fspath: allow the symbols at and plus in remote names - fixes #6710 2023-01-25 13:37:24 +01:00
ui.go fs: Fix interaction between --progress and --interactive 2023-03-22 16:18:41 +00:00