Sunil Mohan Adapa 59d7721682
sharing: Allow double quotes in path strings
Unix paths can contain double quotes. Allow entering paths with double quotes by
escaping them in c-style[1] and retrieve them back properly.

1) https://httpd.apache.org/docs/2.4/expr.html

Tests:

Run tests on with various paths:

- /var/a b

- /var/c"d

- /var/ef"

Run the following tests.

- Create a directory with the test path and create a sample file inside it.

- Add a share with the test path.

- Ensure that the share is accessible and the file can be downloaded.

- Ensure that the list of the shares shows the path correctly.

- Ensure that the share can be edited.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-04-25 15:21:55 -07:00
..
2020-09-27 22:16:07 +05:30
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2021-09-20 16:50:37 -04:00
2022-03-02 07:38:28 -05:00
2020-02-19 14:39:36 +02:00
i2p
2020-02-19 14:39:36 +02:00
2021-09-20 16:50:37 -04:00
2020-05-18 08:49:31 -04:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-09-29 20:46:36 -04:00
2020-08-19 14:03:20 -07:00
2020-02-19 14:39:36 +02:00
2020-02-21 21:47:54 -05:00
2020-02-19 14:39:36 +02:00
2021-09-20 16:50:37 -04:00
tor
2020-05-24 08:59:55 -04:00
2021-11-21 19:10:54 -05:00
2022-04-11 19:50:54 -04:00
2021-09-20 16:50:37 -04:00