summaryrefslogtreecommitdiff
path: root/desktop/browser.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-10-23 00:09:17 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-10-23 00:09:17 +0000
commitcaac2628a7b3dafd707c385a50d98a3028085b60 (patch)
tree474c5c6b8096d8271cf621266e0a3a2f884249b6 /desktop/browser.c
parent9fd638f098b36399e3ca7c90df3c283ab07ed08e (diff)
downloadnetsurf-caac2628a7b3dafd707c385a50d98a3028085b60.tar.gz
netsurf-caac2628a7b3dafd707c385a50d98a3028085b60.tar.bz2
[project @ 2003-10-23 00:09:16 by jmb]
Enable logging into sites which require Basic Authentication Has a couple of issues: 1) Opens the page in the first window in the list 2) Doesn't save the login details so you have to log in to each page. 3) The call to ro_gui_401login_open shouldn't be there. svn path=/import/netsurf/; revision=372
Diffstat (limited to 'desktop/browser.c')
-rw-r--r--desktop/browser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index f3b403a80..1eb881f1c 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -363,6 +363,7 @@ void browser_window_callback(content_msg msg, struct content *c,
case CONTENT_MSG_REDIRECT:
bw->loading_content = 0;
+ bw->url = xstrdup(error);
browser_window_set_status(bw, "Redirecting");
/* error actually holds the new URL */
browser_window_open_location(bw, error);