From 26b35e649f34422e8904dd9bf7ff420248aa16c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 7 Nov 2015 21:18:29 +0100 Subject: [PATCH] googlefs: force disabling HTTP redirection from Google We don't really handle HTTP REDIRECT... --- src/add-ons/kernel/file_systems/googlefs/google_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/file_systems/googlefs/google_request.c b/src/add-ons/kernel/file_systems/googlefs/google_request.c index e28f123663..8780aae503 100644 --- a/src/add-ons/kernel/file_systems/googlefs/google_request.c +++ b/src/add-ons/kernel/file_systems/googlefs/google_request.c @@ -30,7 +30,7 @@ #define TESTURL "http://www.google.com/search?hl=en&ie=UTF-8&num=50&q=beos" //#define BASEURL "http://www.google.com/search?hl=en&ie=UTF-8&num=50&q=" -#define BASEURL "/search?hl=en&ie=UTF-8&oe=UTF-8" +#define BASEURL "/search?hl=en&ie=UTF-8&oe=UTF-8&gws_rd=cr" #define FMT_NUM "&num=%u" #define FMT_Q "&q=%s"