BrowserWindow.bjs
[app.webkitpdf] / BrowserWindow.vala
index dd8ef6b..067e129 100644 (file)
@@ -150,7 +150,7 @@ public class BrowserWindow : Object
                                        print("Adding referrer header %s\n" , request.get_uri());
                                        if (request.get_http_headers() != null) {
                                                request.get_http_headers().remove("Referer");           
-                                               request.get_http_headers().append("Referer", "http://www.google.com/" );
+                                               request.get_http_headers().append("Referer", http://"+host+"/" );
                                        }
                         });
             #else