1
0
mirror of https://github.com/rclone/rclone.git synced 2025-01-24 12:56:36 +02:00
Nick Craig-Wood 8bf4697dc2 serve http/webdav: redirect requests to the base url without the /
When using `--baseurl` before this patch, if a request was made to the
base URL without a trailing / then rclone would return a 404 error.

Unfortunately GVFS / Nautilus makes the request without the /
regardless of what the user put in.

This patch redirects the request to the base URL with a /. So if the
user was using `--baseurl rclone` then a request to
http://localhost/rclone would be redirected with a 308 response to
http://localhost/rclone/

Fixes #4814
2020-12-01 18:00:07 +00:00
..
2020-11-27 14:08:52 +00:00
2020-02-10 15:29:39 +00:00
2020-09-07 12:10:52 +01:00
2020-11-26 16:40:12 +00:00
2020-10-28 18:16:23 +00:00
2020-10-28 18:16:23 +00:00
2020-10-28 18:16:23 +00:00
2020-11-26 16:40:12 +00:00
2020-10-28 18:16:23 +00:00
2020-11-26 16:40:12 +00:00
2020-11-09 18:05:54 +00:00
2020-10-28 18:16:23 +00:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2020-10-28 18:16:23 +00:00
2020-10-28 18:16:23 +00:00
2020-11-26 16:40:12 +00:00
2019-10-14 17:02:09 +01:00
2020-11-09 18:05:54 +00:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2019-10-14 17:02:09 +01:00
2020-10-28 18:16:23 +00:00
2020-11-26 16:40:12 +00:00
2020-11-26 16:40:12 +00:00
2018-06-02 17:35:13 +01:00