Skip to content

Commit

Permalink
Merge pull request #34 from NethServer/dev6853
Browse files Browse the repository at this point in the history
Update hostname format and add error messages for invalid host pattern and format NethServer/dev#6853
  • Loading branch information
stephdl authored Feb 22, 2024
2 parents 144f28d + b0d9e06 commit 496cdfc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion imageroot/actions/configure-module/validate-input.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"host": {
"type": "string",
"description": "Host name for the application, like 'roundcubemail.domain.org'",
"format": "idn-hostname"
"format": "hostname",
"pattern": "\\."
},
"lets_encrypt": {
"type": "boolean",
Expand Down
4 changes: 3 additions & 1 deletion ui/public/i18n/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
"mail_server_is_not_valid": "This mail server cannot be used by Roundcube webmail",
"upload_max_filesize_number_lte": "Must be less than 120 MB",
"no_available_mail_domain_check_users": "Make sure the mail domain you intend to use has \"Add user addresses from user domain\" checkbox enabled",
"mail_module_misconfigured": "No mail domain available"
"mail_module_misconfigured": "No mail domain available",
"host_pattern": "Must be a valid fully qualified domain name",
"host_format": "Must be a valid fully qualified domain name"
},
"about": {
"title": "About"
Expand Down

0 comments on commit 496cdfc

Please sign in to comment.