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 with GeoServer password with umlaut fails #183

Open
kannes opened this issue May 29, 2024 · 3 comments
Open

Login with GeoServer password with umlaut fails #183

kannes opened this issue May 29, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@kannes
Copy link
Contributor

kannes commented May 29, 2024

Describe the bug
The plugin seems to handle password encodings incorrectly for GeoServer login.

To Reproduce
Steps to reproduce the behavior:

  1. Have a GeoServer user with password ääääääää
  2. Try to use it with the plugin
  3. CRITICAL Could not connect to GeoServer Megamap: please check credentials

Expected behavior
Login should work with any valid password string.

Environment info (please complete the following information):

  • OS: Linux
  • QGIS version: 3.22
  • Bridge version: 4.4.1
  • Python version: 3.11
@kannes
Copy link
Contributor Author

kannes commented May 29, 2024

I won't have time to fix this one, nothing fatal for us ;)

@GeoSander GeoSander added the bug Something isn't working label Jun 11, 2024
@GeoSander
Copy link
Member

Thanks for reporting @kannes, I will look into this some day...
Perhaps there is a Qt library thing that I don't know of that deals with character encodings properly.
Do you know what the default encoding of your client (QGIS, your OS, etc.) is?

@kannes
Copy link
Contributor Author

kannes commented Jul 1, 2024

I am not 100% sure that this was the exact case when I reported it but I am fairly sure:

$ locale                                                                                                                                                                                                                      
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=
$ grep -i locale QGIS3.ini
...
[locale]
globalLocale=
userLocale=de

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

No branches or pull requests

2 participants