Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
When trying to download an artifact directly, like so: wget -v --http-user=abc --http-password=pwd -O /tmp/t.txt https://git.myserver.aa/projects/ABC/repos/repo1/raw/something.key?at=refs%2Fheads%2Fmaster, I only get the html for the form logon page. If I add the switch --auth-no-challenge to wget it works fine. It seems the problem is that Bitbucket never sends the authentication challenge to the client, leaving the client unaware that the server supports Basic Authentication. It is a major problem because some software don't support the --auth-no-challenge feature. I believe Bitbucket should respond with the following header: WWW-Authenticate
We're running v5.3.1.
Regards,
Mads