mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 23:09:39 +03:00
[project @ 2003-10-30 22:45:23 by jmb]
Fix bug causing mailto: links to cause a crash svn path=/import/netsurf/; revision=394
This commit is contained in:
parent
d3bd31c3a7
commit
76c37600ad
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user