Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On the admin/hosting/aliases page, the form cannot be submitted with an empty value for hosting_alias_subdomain.
function hosting_alias_settings_validate($form, $form_state) {
if (!valid_url($form_state['values']['hosting_alias_subdomain'])) {
form_set_error('hosting_alias_subdomain', t('The provided domain is invalid.'));
}
}
This bug appears to have been introduced with #2183551: Validate automatic domain field.
Comments
Comment #2
mrP CreditAttribution: mrP commentedFor those needing a workaround in the interim, here are the variables that can be adjusted with drush.
Comment #4
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedThanks for reporting ... I've now added an empty() check.