Jelajahi Sumber

Add Facebook to robot block list

https://github.com/PrivateBin/PrivateBin/issues/156
https://www.facebook.com/externalhit_uatext.php
rugk 9 tahun lalu
induk
melakukan
eb6d994672
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      .htaccess.disabled

+ 1 - 1
.htaccess.disabled

@@ -1,3 +1,3 @@
 RewriteEngine on
-RewriteCond %{HTTP_USER_AGENT} ^.*(bot|spider|crawl|https?://|WhatsApp|SkypeUriPreview) [NC]
+RewriteCond %{HTTP_USER_AGENT} ^.*(bot|spider|crawl|https?://|WhatsApp|SkypeUriPreview|facebookexternalhit) [NC]
 RewriteRule .* - [R=403,L]