From 7880fdcf48f4833fb1c970cffc07d7e0a669fdf8 Mon Sep 17 00:00:00 2001 From: KH Lau Date: Fri, 9 Mar 2018 11:13:28 +0800 Subject: [PATCH] BrowserWindow.vala --- BrowserWindow.vala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BrowserWindow.vala b/BrowserWindow.vala index 60c47b0..77f7dc1 100644 --- a/BrowserWindow.vala +++ b/BrowserWindow.vala @@ -77,8 +77,7 @@ public class BrowserWindow : Object OutputStream ostream = iostream.output_stream; DataOutputStream dostream = new DataOutputStream (ostream); - dostream.put_string ("%s\tTRUE\t/\t%s\t2147483647\t%s\t%s".printf(uri.get_host(),scheme == "http" ? "FALSE" : "TRUE",cookies[0],cookies[1])); - //dostream.put_string (uri.get_host() + "\tTRUE\t/\t"+ssl+"\t2147483647\t" + cookies[0] + "\t" + cookies[1] ); + dostream.put_string ("%s\tTRUE\t/\t%s\t2147483647\t%s\t%s".printf(uri.get_host(),scheme == "http" ? "FALSE" : "TRUE",cookies[0],cookies[1])); cookie_manager.set_persistent_storage(file.get_path(), WebKit.CookiePersistentStorage.TEXT); } catch (Error e) { stdout.printf ("Error: %s\n", e.message); -- 2.39.2