rlmcpherson / s3gof3r

Fast, concurrent, streaming access to Amazon S3, including gof3r, a CLI. http://godoc.org/github.com/rlmcpherson/s3gof3r
MIT License
1.14k stars 180 forks source link

Loosen endpoint regex to allow to s3-compatible services #142

Open perrygeo opened 5 years ago

perrygeo commented 5 years ago

The current regex prohibits using third-party (non-aws) services which implement the S3 API

https://github.com/rlmcpherson/s3gof3r/blob/864ae0bf7cf2e20c0002b7ea17f4d84fec1abc14/s3gof3r.go#L21

Is there a reason to limit gof3r to strictly amazon services? Or could the regex be loosened to accept any valid URL?