http 401: unwanted trailing newline in basic auth digest
brainchild0 opened this issue · 0 comments
brainchild0 commented
Description
I am unable to make a remote connection to a Transmission daemon.
When attempting to connect, a dialog box appears showing the following message:
401: Unauthorized
Unauthorized User
Through packet monitoring, I discovered that the base64 encoded string in the HTTP header is generated from a string ending in a new line character. The original string used to generate the encoded string should have the form <username>:<password>
with no trailing new line.
The web interface for the same daemon connects without any problem.
Environment
- Operating system: Linux Mint 20.2
- Transmission daemon:
transmission-daemon 2.94 (d8e60ee44f)
- Transmission Remote GUI: version 5.18.0