diff options
Diffstat (limited to 'desktop/browser.c')
-rw-r--r-- | desktop/browser.c | 1 |
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); |