aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2009-07-13 17:00:18 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2009-07-13 17:00:18 -0600
commitf90cf21c5561a4ae2b282d6e095c38d06f38840e (patch)
tree747f47f402caa8b2ba8b28ae911cd51093713b12 /uzbl.c
parentf52c73418f9a68bde9d2668e5215960a0f20cbcf (diff)
parente4ec794daa2a27f4476f53aacbf947f57a27ce5c (diff)
Merge branch 'experimental' of git://github.com/Dieterbe/uzbl into replace-expand-template
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uzbl.c b/uzbl.c
index 9e833d6..5022f78 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -2451,7 +2451,7 @@ static void handle_cookies (SoupSession *session, SoupMessage *msg, gpointer use
soup_message_add_header_handler(msg, "got-headers", "Set-Cookie", G_CALLBACK(save_cookies), NULL);
GString *s = g_string_new ("");
SoupURI * soup_uri = soup_message_get_uri(msg);
- g_string_printf(s, "GET '%s' '%s'", soup_uri->host, soup_uri->path);
+ g_string_printf(s, "GET '%s' '%s' '%s'", soup_uri->scheme, soup_uri->host, soup_uri->path);
run_handler(uzbl.behave.cookie_handler, s->str);
if(uzbl.comm.sync_stdout && strcmp (uzbl.comm.sync_stdout, "") != 0) {
@@ -2474,7 +2474,7 @@ save_cookies (SoupMessage *msg, gpointer user_data){
cookie = soup_cookie_to_set_cookie_header(ck->data);
SoupURI * soup_uri = soup_message_get_uri(msg);
GString *s = g_string_new ("");
- g_string_printf(s, "PUT '%s' '%s' '%s'", soup_uri->host, soup_uri->path, cookie);
+ g_string_printf(s, "PUT '%s' '%s' '%s' '%s'", soup_uri->scheme, soup_uri->host, soup_uri->path, cookie);
run_handler(uzbl.behave.cookie_handler, s->str);
g_free (cookie);
g_string_free(s, TRUE);