transgui icon indicating copy to clipboard operation
transgui copied to clipboard

http 401: unwanted trailing newline in basic auth digest

Open brainchild0 opened this issue 4 years ago • 0 comments

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

brainchild0 avatar Dec 16 '21 15:12 brainchild0