summaryrefslogtreecommitdiff
path: root/desktop/loginlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/loginlist.c')
-rw-r--r--desktop/loginlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/loginlist.c b/desktop/loginlist.c
index 639865a7b..ca632c03f 100644
--- a/desktop/loginlist.c
+++ b/desktop/loginlist.c
@@ -72,6 +72,9 @@ struct login *login_list_get(char *host) {
if (host == NULL)
return NULL;
+ if (strncasecmp(host, "http", 4) != 0)
+ return NULL;
+
temphost = get_host_from_url(host);
temp = xstrdup(host);