From e20d4e192d1633a2855f4fa4bcbf8f2f9e61f2c1 Mon Sep 17 00:00:00 2001 From: tomasz1986 Date: Tue, 28 Sep 2021 15:05:18 +0900 Subject: [PATCH] Revert "gui: Allow to resize command in External Versioning (#7410)" (#7978) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit cca17f53064b1b567a3275eadd5467af1e810f47. Using textarea instead of input makes it possible to enter new lines, which then are added to config.xml as " ". This breaks the whole script, because these characters are passed to the command line as "\n". Therefore, the script should rather remain a single-lined input field. Signed-off-by: Tomasz WilczyƄski --- gui/default/syncthing/folder/editFolderModalView.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/default/syncthing/folder/editFolderModalView.html b/gui/default/syncthing/folder/editFolderModalView.html index 870704e87..5fd8bc8e3 100644 --- a/gui/default/syncthing/folder/editFolderModalView.html +++ b/gui/default/syncthing/folder/editFolderModalView.html @@ -128,7 +128,7 @@

An external command handles the versioning. It has to remove the file from the shared folder. If the path to the application contains spaces, it should be quoted.

- +

See external versioning help for supported templated command line parameters. The path cannot be blank.