RocketChat / Rocket.Chat.Cordova

Rocket.Chat Cross-Platform Mobile Application via Cordova (DEPRECATED)
MIT License
104 stars 109 forks source link

Improve server URL check when trying to setup a new server #154

Open frdmn opened 7 years ago

frdmn commented 7 years ago

When you try to add a server URL which has a trailing slash at end, the app responds with:

The server <proto>://<host>:<port>/ is not enabled for mobile apps

If you remove the slash at the end, it works like a charm.

The error message seems a bit misleading here.

exactt commented 7 years ago

I can confirm this behaviour.