-
Notifications
You must be signed in to change notification settings - Fork 495
Closed
Labels
Description
MinIO configured behind reverse proxy with MINIO_BROWSER_REDIRECT_URL using incorrect URL for Inspect Object
Expected Behavior
Correct API URL for Inspect Object
Current Behavior
Incorrect API URL for Inspect Object because of
https://github.com/minio/console/blob/a6eee73c11ac9792dea9a5f4fcdd58a51cff3e92/portal-ui/src/screens/Console/Tools/Inspect.tsx#L149
Possible Solution
Maybe, it will work if this line will be like this
const urlOfInspectApi = `${new URL(document.baseURI).pathname}api/v1/admin/inspect?volume=${volume}&file=${file}&encrypt=${isEncrypt}`;Steps to Reproduce (for bugs)
- MinIO Console behind reverse proxy at
$HOST/minio/ui/ MINIO_BROWSER_REDIRECT_URL="$HOST/minio/ui/"- Open "test" bucket at
$HOST/minio/ui/browser/test - Select file
- Right panel -> Actions -> Inspect
Context
Your Environment
- MinIO version used (
minio --version):RELEASE.2023-08-31T15-31-16Z (commit-id=e47e625f73bb1c9672e6c8e4c3b3f9a0e93423a0)
shadowwalker-xu
