Error
When adding an account, we must ensure the given URL does not contain any whitespace character.
InvalidURL: Failed to parse: vmi245718.contaboserver.net:8080 (2 additional frame(s) were not displayed) ... File "lib\site-packages\requests\api.py", line 60, in request File "lib\site-packages\requests\sessions.py", line 519, in request File "lib\site-packages\requests\sessions.py", line 462, in prepare_request File "lib\site-packages\requests\models.py", line 313, in prepare File "lib\site-packages\requests\models.py", line 381, in prepare_url LocationParseError: Failed to parse: vmi245718.contaboserver.net:8080 File "lib\site-packages\requests\models.py", line 379, in prepare_url File "lib\site-packages\urllib3\util\url.py", line 199, in parse_url Error while trying to connect to Nuxeo Drive startup page with URL https://vmi245718.contaboserver.net:8080 /drive_browser_login.jsp
Sentry Issue: NUXEO-DRIVE-WW
Fix
A simple fix would be to do something like re.sub(r"\s+", "", url).
Also a test should be added.