diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-10-01 21:31:55 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-10-01 21:31:55 +0000 |
commit | 49ce807e3cebf9f36fc908d7b7c0bfe00ce32e2c (patch) | |
tree | f3750ef9047ff8493715e10e2b84e292c1b56fe1 /riscos/hotlist.c | |
parent | 39ad1632eb78e8c632d3e66711d09f2bb982a4e8 (diff) | |
download | netsurf-49ce807e3cebf9f36fc908d7b7c0bfe00ce32e2c.tar.gz netsurf-49ce807e3cebf9f36fc908d7b7c0bfe00ce32e2c.tar.bz2 |
[project @ 2004-10-01 21:31:55 by jmb]
A somewhat better implementation of referrers which no longer sends the referer if the URL schemes don't match.
Things to do:
1) Preservation of referer across redirects (see comment in browser.c:284)
2) GUI templates/code for configuration of referer sending (simple on/off toggle only)
3) Make referer sending when fetching objects/stylesheets for a page pay attention to option_send_referer?
4) Handle the case where the referer is in the form of http://moo:foo@mysite.com/ (ie the login details embedded in the referer - not good).
svn path=/import/netsurf/; revision=1297
Diffstat (limited to 'riscos/hotlist.c')
-rw-r--r-- | riscos/hotlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/hotlist.c b/riscos/hotlist.c index fad751306..3b787a536 100644 --- a/riscos/hotlist.c +++ b/riscos/hotlist.c @@ -1612,7 +1612,7 @@ void ro_gui_hotlist_click(wimp_pointer *pointer) { */ if (((buttons == wimp_DOUBLE_SELECT) || (buttons == wimp_DOUBLE_ADJUST)) && (entry->children == -1)) { - browser_window_create(entry->url, NULL); + browser_window_create(entry->url, NULL, 0); if (buttons == wimp_DOUBLE_SELECT) { ro_gui_hotlist_selection_state(root.child_entry, false, true); @@ -1872,7 +1872,7 @@ int ro_gui_hotlist_selection_count(struct hotlist_entry *entry, bool folders) { void ro_gui_hotlist_launch_selection(struct hotlist_entry *entry) { if (!entry) return; while (entry) { - if ((entry->selected) && (entry->url)) browser_window_create(entry->url, NULL); + if ((entry->selected) && (entry->url)) browser_window_create(entry->url, NULL, 0); if (entry->child_entry) ro_gui_hotlist_launch_selection(entry->child_entry); entry = entry->next_entry; } |