mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-11 13:29:21 +03:00
Handle omitted realm
svn path=/trunk/netsurf/; revision=2602
This commit is contained in:
parent
4a314ef5ac
commit
fa5156cfca
@ -98,7 +98,7 @@ void ro_gui_401login_open(struct browser_window *bw, const char *host,
|
||||
session->uname[0] = '\0';
|
||||
session->pwd[0] = '\0';
|
||||
session->host = strdup(host);
|
||||
session->realm = strdup(realm);
|
||||
session->realm = strdup(realm ? realm : "Secure Area");
|
||||
session->bwin = bw;
|
||||
if ((!session->host) || (!session->realm)) {
|
||||
free(session->host);
|
||||
|
Loading…
Reference in New Issue
Block a user