Piwigo / Piwigo-Mobile

Piwigo iOS Mobile Application
MIT License
100 stars 29 forks source link

[BUG] Crash at login when no scheme provided and host is http #497

Closed melis-m closed 2 years ago

melis-m commented 2 years ago

Describe the bug and how to reproduce App crashes at login if no scheme specified in url and the host is http and not https. I only have a local server at the moment, so not very easily testable from the outside and maybe actually the bug is not exactly that.

Steps to reproduce the behavior:

  1. Fresh install app
  2. Enter a url of a piwigo server hosted on http host, without the scheme, in my case it was 192.168.x.x:8081
  3. Click Login
  4. App crashes, and whenever you open the app after that it tries to reconnect again and crashes, you have to uninstall

Expected behavior The login process should not crash

What did you do already

Smartphone (please complete the following information):

Additional context

EddyLB commented 2 years ago

Thank you for this report. I can now reproduce the issue.