Phalcode / gamevault-backend

Backend for the self-hosted gaming platform for drm-free games
https://gamevau.lt
Other
156 stars 13 forks source link

"Login Failed" Error When Uploading Boxart & Background Images #292

Closed Alfagun74 closed 1 month ago

Alfagun74 commented 1 month ago

Description:

Users encounter a "Login failed" error when uploading boxart and background images in GameVault, despite being logged in. The issue persists even after re-logging and appears to be related to special characters in passwords.

Origin: https://discord.com/channels/1100920639667306496/1217498313805402152

Steps to Reproduce:

  1. Set weird password
  2. Log in to the GameVault client.
  3. Attempt to upload boxart or background images.
  4. Observe the "Login failed" error.

Observed Behavior:

Environment:

Logs:

Example Password:

Request:

Attachments: message.txt message (1).txt

Alfagun74 commented 1 month ago

We've identified that there was an issue with the symbol. The problem occurred because the system used an outdated character set (ASCII) instead of a more modern one (UTF-8). As a result, the symbol was incorrectly changed to a ? during the process, which caused the server to not recognize the password correctly. This has been fixed by ensuring the correct character set (UTF-8) is used.

Will be fixed in the next Client Application version.