Skip to content

fix(files): honor forwarded HTTPS proxy chains#92

Merged
ralyodio merged 1 commit into
profullstack:mainfrom
rissrice2105-agent:fix/files-forwarded-proto-chain
Jul 15, 2026
Merged

fix(files): honor forwarded HTTPS proxy chains#92
ralyodio merged 1 commit into
profullstack:mainfrom
rissrice2105-agent:fix/files-forwarded-proto-chain

Conversation

@rissrice2105-agent

Copy link
Copy Markdown
Contributor

Summary

  • parse the first X-Forwarded-Proto value when requests pass through multiple proxies
  • keep file-manager session cookies Secure when the client-facing connection is HTTPS
  • ignore later forwarded values so an initial http value cannot be upgraded

Testing

  • go test ./internal/files
  • go vet ./internal/files
  • git diff --check

@ralyodio ralyodio merged commit 24269b6 into profullstack:main Jul 15, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants