aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scraper/ddg.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/scraper/ddg.php b/scraper/ddg.php
index d5c4a38..af96465 100644
--- a/scraper/ddg.php
+++ b/scraper/ddg.php
@@ -370,7 +370,10 @@ class ddg{
}else{
// we have $get["s"]
- if(strpos($get["s"], "\"") !== false){
+ if(
+ strpos($get["s"], "\"") !== false || // contains quotes
+ strpos($get["s"], ":") !== false // contains potential site: operator or whatever the fuck
+ ){
return $this->web_html($get);
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage