mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-14 08:30:38 +00:00
98d89ffad7
Avoid stripping default ports (80/443) from the Host header in extractHostHeader. This fixes SignatureDoesNotMatch errors when SeaweedFS is accessed via a proxy (like Kong Ingress) that explicitly includes the port in the Host header or X-Forwarded-Host, which S3 clients sign. Also cleaned up unused variables and logic after refactoring.