Commit 56a402a8 authored by ale's avatar ale

Fix regex escaping in sso-server configuration

parent 88bf4ae0
Pipeline #3332 passed with stage
in 4 minutes and 54 seconds
......@@ -17,21 +17,21 @@ sso_extra_allowed_services:
# Allowed exchanges (source and destination services).
sso_allowed_exchanges:
- src_regexp: "^[^.]+\\.webmail\\.({{ domain_public | regex_escape | join('|') }})/$"
- src_regexp: "^[^.]+\\.webmail\\.({{ domain_public | join('|') }})/$"
dst_regexp: "^imap\\.{{ domain | regex_escape }}/$"
- src_regexp: "^accounts\\.({{ domain_public | regex_escape | join('|') }})/$"
- src_regexp: "^accounts\\.({{ domain_public | join('|') }})/$"
dst_regexp: "^accountserver.{{ domain | regex_escape }}/$"
- src_regexp: "^accountadmin\\.({{ domain_public | regex_escape | join('|') }})/$"
- src_regexp: "^accountadmin\\.({{ domain_public | join('|') }})/$"
dst_regexp: "^accountserver.{{ domain | regex_escape }}/$"
# TTLs for SSO tickets for various services. Remember to always
# include the catch-all default entry.
sso_service_ttls:
- regexp: "^[^.]+\\.webmail\\.({{ domain_public | regex_escape | join('|') }}) }}/$"
- regexp: "^[^.]+\\.webmail\\.({{ domain_public | join('|') }}) }}/$"
ttl: 43200
- regexp: "^imap\\.{{ domain | regex_escape }}/$"
ttl: 43200
- regexp: "^accounts\\.({{ domain_public | regex_escape | join('|') }})/$"
- regexp: "^accounts\\.({{ domain_public | join('|') }})/$"
ttl: 3600
- regexp: "^accountserver\\.{{ domain | regex_escape }}/$"
ttl: 3600
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment