Files
floci/src/main/java/io/github/hectorvent
Matej Šnuderl 944fddf5ac fix(s3): use ConfigProvider for runtime config lookup in S3VirtualHostFilter (#288)
Replace @ConfigProperty constructor injection with programmatic
ConfigProvider.getConfig() lookup to fix native image crash when
FLOCI_HOSTNAME is set at runtime. @PreMatching JAX-RS filters run
before CDI beans are fully initialized, so neither @ConfigProperty
nor @ConfigMapping beans are available during filter construction.

Also make bucket extraction hostname-aware: only treat the first label
as a bucket name when the remainder matches the configured base hostname
(or a well-known AWS S3 domain). This prevents false positives when
Floci sits behind a multi-label hostname like floci.svc.cluster.local.
2026-04-08 10:23:52 -05:00
..