mirror of
https://github.com/rclone/rclone.git
synced 2025-02-22 04:42:10 +08:00

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