From 964ae1aa9ef352fc1a1fad55ca39c37c1b0a04b4 Mon Sep 17 00:00:00 2001
From: RemixDev <RemixDev64@gmail.com>
Date: Sun, 31 May 2020 10:59:57 +0200
Subject: [PATCH] Automatically trim arl for spaces and newlines

---
 server.py | 1 +
 webui     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/server.py b/server.py
index b3f355b..faa780c 100644
--- a/server.py
+++ b/server.py
@@ -108,6 +108,7 @@ def login(arl, force=False, child=0):
     global firstConnection
     if child == None:
         child = 0
+    arl = arl.trim()
     emit('toast', {'msg': "Logging in...", 'icon': 'loading', 'dismiss': False, 'id': "login-toast"})
     if not session['dz'].logged_in:
         result = session['dz'].login_via_arl(arl, int(child))
diff --git a/webui b/webui
index 6bc4997..b99d158 160000
--- a/webui
+++ b/webui
@@ -1 +1 @@
-Subproject commit 6bc4997ff318b234175443724bc15a8b4105ca5e
+Subproject commit b99d15808566cd2a32c66aa92bd6bc86544d9d2e