From b30cf3d0e24c51b0f77979af49f200bbac5bd050 Mon Sep 17 00:00:00 2001 From: Mario Sanchez Prada Date: Wed, 14 Apr 2010 18:06:36 +0200 Subject: 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 --- src/popup-commands.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); -- cgit v1.2.3