Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login fails due to password containing special characters #390

Open
Sneltrain opened this issue Oct 2, 2022 · 0 comments · May be fixed by #452
Open

Login fails due to password containing special characters #390

Sneltrain opened this issue Oct 2, 2022 · 0 comments · May be fixed by #452
Labels
bug Something isn't working

Comments

@Sneltrain
Copy link

Describe the bug
I am using Ampache and when I try to log in to my account using the Subsonic API together with legacy auth I get the error
Cannot read property 'status' of undefined
After trying to access the URL you mentioned in this comment I realised that putting my plain password containing the special characters #, @, & and % isn't going to work. When using your URL with my URL-encoded password I got a "status": "ok" response, so I tried putting the encoded version of my password into the login form and then I got logged in.

To Reproduce
Steps to reproduce the behavior:

  1. Enter a password with special characters
  2. Select Subsonic API
  3. Select legacy auth
  4. Click log in
  5. Panic

Expected behavior
I expected my password to get encoded properly.

Desktop (please complete the following information):

  • OS: Windows 11
  • Version: 0.15.3-win-x64 (I used the zip version)

Additional context
This is not really additional context, but now it seems that the rest of Sonixd is expecting the real, unencoded password to fetch data from my server. When clicking on "Artists" I get Error: TypeError: Cannot read property 'artists' of undefined and when clicking on "Albums" the whole window becomes white (including the title bar).

If you need any additional information just guide me to the right logs :)

@Sneltrain Sneltrain added the bug Something isn't working label Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant