瀏覽代碼

Merge pull request #3317 from thegcat/feature/3312-add_ipv6_to_blacklist_example_config

Add private IPv6 addresses to example config for url preview blacklist
Richard van der Hoff 6 年之前
父節點
當前提交
a9e97dcd65
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      synapse/config/repository.py

+ 3 - 0
synapse/config/repository.py

@@ -250,6 +250,9 @@ class ContentRepositoryConfig(Config):
         # - '192.168.0.0/16'
         # - '100.64.0.0/10'
         # - '169.254.0.0/16'
+        # - '::1/128'
+        # - 'fe80::/64'
+        # - 'fc00::/7'
         #
         # List of IP address CIDR ranges that the URL preview spider is allowed
         # to access even if they are specified in url_preview_ip_range_blacklist.