mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
A custom domain under the endpoint suffix (e.g. api.mycorp.localhost) was rewritten to /execute-api/... by ApiGatewayCustomDomainFilter, then S3VirtualHostFilter read the host as the dotted bucket "api.mycorp" and prepended it to the path, so S3 answered NoSuchBucket. ApiGatewayCustomDomainFilter now sets a server-side ROUTED_PROPERTY marker when it rewrites, and S3VirtualHostFilter skips marked requests, the same idiom already used for CloudFront distributions and Cognito custom domains.