rclone/fs/config
Nick Craig-Wood f1347139fa config: check config names more carefully and report errors - fixes #3506
Before this change it was possible to make a remote with an invalid
name in the config file, either manually or with `rclone config
create` (but not with `rclone config`).

When this remote was used, because it was invalid, rclone would
presume this remote name was a local directory for a very suprising
user experience!

This change checks remote names more carefully and returns errors
- when the user tries to use an invalid remote name on the command line
- when an invalid remote name is used in `rclone config create/update/password`
- when the user tries to enter an invalid remote name in `rclone config`

This does not prevent the user entering a remote name with invalid
characters in the config manually, but such a remote will fail
immediately when it is used on the command line.
2019-09-06 12:07:09 +01:00
..
configflags operations: disable multi thread copy for local to local copies #3419 2019-08-14 15:07:38 +01:00
configmap all: fix go-critic linter suggestions 2018-08-06 21:14:03 +01:00
configstruct build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
flags build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
obscure Add tests for reveal functions 2018-08-07 20:51:50 +01:00
testdata Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
config_other.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
config_read_password_unsupported.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
config_read_password.go config: fix error reading password from piped input - fixes #1308 2018-06-28 11:54:15 +01:00
config_test.go config: Fix generated passwords being stored as empty password - Fixes #3492 2019-08-28 12:11:03 +01:00
config_unix.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
config.go config: check config names more carefully and report errors - fixes #3506 2019-09-06 12:07:09 +01:00
rc_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
rc.go rc: fix docs for config/create /update /password 2019-09-03 08:34:15 +01:00