Skip to content

Commit

Permalink
[tls_mgm] Fix validation regexp for match_sip_domain
Browse files Browse the repository at this point in the history
Support the "*" also

(cherry picked from commit eb0c4ae)
  • Loading branch information
bogdan-iancu committed Aug 17, 2022
1 parent 7558bc7 commit 1e738fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/tools/system/tls_mgm/tviewer.inc.php
Expand Up @@ -146,7 +146,7 @@
"key" => NULL,
"tip" => "The SIP domains used to match a TLS connection with a virtual TLS domain. For TLS server domains, these values will be matched against the hostname provided in the TLS Servername extension(SNI). For TLS client domains, the values will be compared with the value of the \"client_sip_domain_avp\" AVP",
"is_optional" => "y",
"validation_regex" => "^[0-9a-zA-Z.-]+.[0-9A-Za-z]$",
"validation_regex" => "^(\*|([0-9a-zA-Z.-]+.[0-9A-Za-z]))$",
"show_in_add_form" => true,
"show_in_edit_form" => true,
"searchable" => true
Expand Down

0 comments on commit 1e738fd

Please sign in to comment.