From 76c37600add1afd4915564b461587becb7fb39c9 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 30 Oct 2003 22:45:23 +0000 Subject: [project @ 2003-10-30 22:45:23 by jmb] Fix bug causing mailto: links to cause a crash svn path=/import/netsurf/; revision=394 --- desktop/loginlist.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'desktop') 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); -- cgit v1.2.3