This repository was archived by the owner on Jan 28, 2025. It is now read-only.
originUrl.includes("s3")
produces false positives #761
Open
Description
Describe the bug
Hi there! 👋
I'm adding an origin of this form http://foo.s3-website-eu-west-1.amazonaws.com
.
As other issues revealed those kind of origins are not an S3OriginConfig
but a CustomOriginConfig
.
So it might help to exclude these kind of origins, or maybe allow setting an extra flag to to mark an origin as non-S3OriginConfig.
here's the problematic line of code: