diff options
| author | lolcat <will@lolcat.ca> | 2025-09-28 15:27:07 -0400 |
|---|---|---|
| committer | lolcat <will@lolcat.ca> | 2025-09-28 15:27:07 -0400 |
| commit | 61deefb75bdaf5e940eefffdd85f058e370623bb (patch) | |
| tree | 9ee3b7dc66a5845788f0125e19c57df185e99a7b /scraper | |
| parent | 8198287ec0576989a97e5ead7d5c0a138d1515ad (diff) | |
fucking operators are blocked too
Diffstat (limited to 'scraper')
| -rw-r--r-- | scraper/ddg.php | 5 |
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); } |
