Browse Source

feat(c10y): add url_preview_domain_explicit_allowlist

pull/5008/merge
anya hope 2 days ago
committed by Slavi Pantaleev
parent
commit
3f0326855d
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      roles/custom/matrix-continuwuity/defaults/main.yml
  2. +1
    -1
      roles/custom/matrix-continuwuity/templates/continuwuity.toml.j2

+ 3
- 0
roles/custom/matrix-continuwuity/defaults/main.yml View File

@@ -199,6 +199,9 @@ matrix_continuwuity_config_ignore_messages_from_server_names: []
# Controls the `url_preview_domain_contains_allowlist` setting. # Controls the `url_preview_domain_contains_allowlist` setting.
matrix_continuwuity_config_url_preview_domain_contains_allowlist: [] matrix_continuwuity_config_url_preview_domain_contains_allowlist: []


# Controls the `url_preview_domain_explicit_allowlist` setting.
matrix_continuwuity_config_url_preview_domain_explicit_allowlist: []

# Additional environment variables to pass to the container. # Additional environment variables to pass to the container.
# #
# Environment variables take priority over settings in the configuration file. # Environment variables take priority over settings in the configuration file.


+ 1
- 1
roles/custom/matrix-continuwuity/templates/continuwuity.toml.j2 View File

@@ -1319,7 +1319,7 @@ url_preview_domain_contains_allowlist = {{ matrix_continuwuity_config_url_previe
# attack surface to your server, you are expected to be aware of the risks # attack surface to your server, you are expected to be aware of the risks
# by doing so. # by doing so.
# #
#url_preview_domain_explicit_allowlist = []
url_preview_domain_explicit_allowlist = {{ matrix_continuwuity_config_url_preview_domain_explicit_allowlist | to_json }}


# Vector list of explicit domains not allowed to send requests to for URL # Vector list of explicit domains not allowed to send requests to for URL
# previews. # previews.


Loading…
Cancel
Save