cht-core
cht-core copied to clipboard
CouchDb `/_utils` faulty redirect
Describe the issue
Using self hosted 4.0 docker setup, accessing Fauxton through https://localhost/_utils
will redirect to https://_/_utils/
.
Using https://localhost/_utils/
works as expected.
This looks like it's a CouchDb internal redirect that doesn't match the host name correctly.
Describe the improvement you'd like Fix the redirect, so Fauxton is accessible with or without the trailing slash.
Describe alternatives you've considered Worse case scenario, we implement a redirect directly in the API router.
I think this is the same as https://github.com/medic/cht-core/issues/7504 but happening on the new architecture.
This is ready for AT on 7815-no-server-name
.
Environment: Local with docker Platform: WebApp Browser: Chrome
Reproducible on Master
Video attached:
Fixed on 7815-no-server-name
Video attached:
Merged into master
.