HTTP_AUTH_USER / HTTP_AUTH_PASS ignored #61

Closed
opened 2026-01-19 18:28:48 +00:00 by michael · 3 comments
Owner

Originally created by @odoucet on GitHub.

Hello,
It appears HTTP_AUTH_USER and HTTP_AUTH_PASS are not doing anything (when used as docker container).
I was expecting an authentication to be required on file uploads when these two variables are present, but nothing happens and everyone can upload a file without auth.
I'm wondering if I'm using it correctly ...

Originally created by @odoucet on GitHub. Hello, It appears HTTP_AUTH_USER and HTTP_AUTH_PASS are not doing anything (when used as docker container). I was expecting an authentication to be required on file uploads when these two variables are present, but nothing happens and everyone can upload a file without auth. I'm wondering if I'm using it correctly ...
Author
Owner

@odoucet commented on GitHub:

Thanks! I'll wait for https://hub.docker.com/r/dutchcoders/transfer.sh to be updated and I'll confirm to you if it is fixed :)

@odoucet commented on GitHub: Thanks! I'll wait for https://hub.docker.com/r/dutchcoders/transfer.sh to be updated and I'll confirm to you if it is fixed :)
Author
Owner

@paolafrancesca commented on GitHub:

@odoucet can you please share how do you launch your docker container?
either cli command line for docker run, your docker-compose file, or whatever? :)

@paolafrancesca commented on GitHub: @odoucet can you please share how do you launch your docker container? either cli command line for `docker run`, your docker-compose file, or whatever? :)
Author
Owner

@paolafrancesca commented on GitHub:

woha! there was a huge bug in the basic auth logic since #537 !

glad you reported @odoucet

fixed in #564

@paolafrancesca commented on GitHub: woha! there was a huge bug in the basic auth logic since #537 ! glad you reported @odoucet fixed in #564
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#61