Libki / libki-server

Libki Server
Other
55 stars 28 forks source link

Widechars make settings to produce error page only #272

Open radiuscz opened 1 year ago

radiuscz commented 1 year ago

Describe the bug UTF-8 diacritics in settings fails to save updated values and return to the settings page is then impossible anymore.

To Reproduce Steps to reproduce the behavior:

  1. Go to '/administration/settings'
  2. Click on 'Guess passes'
  3. Fill Username label with some diacritics, eg. 'Uživatel:'
  4. See error 'Settings not updated', but in fact thay are.
  5. Go back to administrations homepage
  6. Try to open '/administration/settings' again
  7. Server error page shows up

Expected behavior UTF-8 texts can be saved and used anywhere.

Screenshots Username label server error

Deployment architecture:

Desktop (please complete the following information):

Additional context none

lnogg commented 1 year ago

I just installed libki in my library and i got this error twice. Any idea on how to fix the Settings page without formatting the server?