"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
plugins: Add url query params to regex for referrer path
Chaitanya Bankanhald6996e3347db
diff --git a/fs/rc/webgui/plugins.go b/fs/rc/webgui/plugins.goindex d6b2cf117..424e432b4 100644--- a/fs/rc/webgui/plugins.go+++ b/fs/rc/webgui/plugins.go@@ -282,7 +282,7 @@ func ServePluginOK(w http.ResponseWriter, r *http.Request, pluginsMatchResult []return true}-var referrerPathReg = regexp.MustCompile("^(https?)://(.+):([0-9]+)?/(.*)$")+var referrerPathReg = regexp.MustCompile("^(https?):\\/\\/(.+):([0-9]+)?\\/(.*)\\/?\\?(.*)$")// ServePluginWithReferrerOK check if redirectReferrer is set for the referred a plugin, if yes,// sends a redirect to actual url. This function is useful for plugins to refer to absolute paths when