BrowserWindow.vala
authorKH Lau <khlau@roojs.com>
Fri, 9 Mar 2018 03:13:28 +0000 (11:13 +0800)
committerKH Lau <khlau@roojs.com>
Fri, 9 Mar 2018 03:13:28 +0000 (11:13 +0800)
BrowserWindow.vala

index 60c47b0..77f7dc1 100644 (file)
@@ -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);