From 0dceb06338241e6800673b404a0c5e52718bc6ac Mon Sep 17 00:00:00 2001
From: Dominik Pfennig <dominik@suma-ev.de>
Date: Mon, 19 Feb 2018 13:43:48 +0100
Subject: [PATCH] Update Searchengine.php

---
 app/Models/Searchengine.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/Models/Searchengine.php b/app/Models/Searchengine.php
index a27553479..b3f0e06c7 100644
--- a/app/Models/Searchengine.php
+++ b/app/Models/Searchengine.php
@@ -69,7 +69,7 @@ abstract class Searchengine
             return;
         }
 
-        $this->useragent = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.1";
+        $this->useragent = $metager->getUserAgent();
         $this->ip        = $metager->getIp();
         $this->gefVon    = "<a href=\"" . $this->homepage . "\" target=\"_blank\" rel=\"noopener\">" . $this->displayName . "</a>";
         $this->startTime = microtime();
-- 
GitLab