Kaynağa Gözat

Preserve original comments around `url_preview_url_blacklist`

pull/4641/head
Slavi Pantaleev 4 ay önce
committed by GitHub
ebeveyn
işleme
9fdbccffe4
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: B5690EEEBB952194
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. +4
    -4
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 4
- 4
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 Dosyayı Görüntüle

@@ -1161,10 +1161,7 @@ url_preview_ip_range_whitelist: {{ matrix_synapse_url_preview_ip_range_whitelist
# specified component matches for a given list item succeed, the URL is
# blacklisted.
#
{% if matrix_synapse_url_preview_url_blacklist | length > 0 %}
url_preview_url_blacklist: {{ matrix_synapse_url_preview_url_blacklist | to_json }}
{% endif %}

#url_preview_url_blacklist:
# # blacklist any URL with a username in its URI
# - username: '*'
#
@@ -1181,6 +1178,9 @@ url_preview_url_blacklist: {{ matrix_synapse_url_preview_url_blacklist | to_json
#
# # blacklist any URL with a literal IPv4 address
# - netloc: '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$'
{% if matrix_synapse_url_preview_url_blacklist | length > 0 %}
url_preview_url_blacklist: {{ matrix_synapse_url_preview_url_blacklist | to_json }}
{% endif %}

# The largest allowed URL preview spidering size in bytes
#


Yükleniyor…
İptal
Kaydet