Commit Graph
5 Commits
Author SHA1 Message Date
Jack Henschel bf02e3bacf fix: Ensure trailing slash in CustomEndpoint is handled gracefully 2021-02-03 17:48:04 +02:00
Jack Henschel b42d2b1f1e docs: Make bucket references in README example consistent 2021-02-03 17:47:51 +02:00
Jack Henschel ce1c250422 fix: Modify getURL method to correctly support special characters
fixes https://github.com/rhnvrm/simples3/issues/7
2021-02-03 17:47:51 +02:00
Jack Henschel c97ddac6df test: Check filenames with special characters work correctly 2021-02-03 17:47:51 +02:00
Jack Henschel 2c7094bdb6 Allow user to specify protocol for custom endpoint
In local setups, such as a Minio [1] instance in a Docker container,
the protocol may not always be HTTPS (like for public production
endpoints), but instead just plain HTTP.
To support this use-case, the user can specify a protocol at the
beginning of the custom endpoint URI (either http:// or https://).

To maintain backwards compatibility, the protocol defaults to HTTPS.

The patch also includes a test case to assert this behavior.

[1] https://hub.docker.com/r/minio/minio
2020-09-15 09:04:34 +02:00