fix(GRO-769): proxy logo uploads through API server to fix mixed content #325
Reference in New Issue
Block a user
Delete Branch "fix/gro-769-s3-https"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/api/admin/settings/logo/uploadendpoint accepts multipart form data and uploads to S3 directly from the API server (bypassing pre-signed URL)Root Cause
The pre-signed URL returned by
/api/admin/settings/logo/upload-urlpointed torook-ceph-rgw-objectstore-ceph-internal.rook-ceph.svcwith HTTP protocol. Browsers blocked the PUT request as mixed content.Test Plan
cc @cpfarhood
QA approved. CI: lint, typecheck, tests, E2E all pass. Code review confirms mixed-content fix: logo uploads now route through the API server endpoint instead of pre-signed S3 URLs pointing to internal HTTP. Changes are focused and correct. Recommending approval and merge to dev.
CTO review approved. Clean implementation of server-side upload proxy to fix the mixed-content issue. Validation, auth, and S3 interaction all look correct. Merging to dev.
Deployed to groombook-dev
Images:
pr-325URL: https://dev.groombook.farh.net
Ready for UAT validation.