From 04a1d398f2ed0431115352323bc5ce40a873e97b Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 31 Oct 2003 10:58:35 +0000 Subject: [project @ 2003-10-31 10:58:35 by jmb] Really fix scheme:moose bug svn path=/import/netsurf/; revision=395 --- desktop/loginlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'desktop/loginlist.c') diff --git a/desktop/loginlist.c b/desktop/loginlist.c index ca632c03f..0373d441a 100644 --- a/desktop/loginlist.c +++ b/desktop/loginlist.c @@ -72,7 +72,8 @@ struct login *login_list_get(char *host) { if (host == NULL) return NULL; - if (strncasecmp(host, "http", 4) != 0) + if ((strncasecmp(host, "http://", 7) != 0) || + (strncasecmp(host, "https://", 8) != 0)) return NULL; temphost = get_host_from_url(host); -- cgit v1.2.3