소스 검색

fucking operators are blocked too

lolcat 10 달 전
부모
커밋
61deefb75b
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      scraper/ddg.php

+ 4 - 1
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);
 			}