aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMario Sanchez Prada <msanchez@igalia.com>2010-04-15 00:06:36 +0800
committerXan Lopez <xan@gnome.org>2010-04-17 02:57:40 +0800
commitb30cf3d0e24c51b0f77979af49f200bbac5bd050 (patch)
treeeb54b1760076c6b32a724c4f4e82628b44bd6ca0 /src
parent7f5202b49a8015bc09faa6e10c9f78c3e97ab83b (diff)
downloadgsoc2013-epiphany-b30cf3d0e24c51b0f77979af49f200bbac5bd050.tar
gsoc2013-epiphany-b30cf3d0e24c51b0f77979af49f200bbac5bd050.tar.gz
gsoc2013-epiphany-b30cf3d0e24c51b0f77979af49f200bbac5bd050.tar.bz2
gsoc2013-epiphany-b30cf3d0e24c51b0f77979af49f200bbac5bd050.tar.lz
gsoc2013-epiphany-b30cf3d0e24c51b0f77979af49f200bbac5bd050.tar.xz
gsoc2013-epiphany-b30cf3d0e24c51b0f77979af49f200bbac5bd050.tar.zst
gsoc2013-epiphany-b30cf3d0e24c51b0f77979af49f200bbac5bd050.zip
Send 'Referer' on headers sent for context menu HTTP downloads
Make sure the EphyEmbedPersist object is created specifying the EphyEmbed object, and create the network request inside of it using the URL from the associated web view as 'Referer' Bug #136292 Signed-off-by: Xan Lopez <xan@gnome.org>
Diffstat (limited to 'src')
-rw-r--r--src/popup-commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 8930d834c..c620d08df 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -237,6 +237,7 @@ save_property_url (GtkAction *action,
ephy_embed_persist_set_persist_key
(persist, CONF_STATE_SAVE_DIR);
ephy_embed_persist_set_source (persist, location);
+ ephy_embed_persist_set_embed (persist, embed);
g_signal_connect (persist, "completed",
G_CALLBACK (save_property_url_completed_cb), NULL);