Closed ssu-carlsoni closed 3 months ago
Acquia Cloud does not support hyphens in db names. FilePaths::ahSettingsFile handles periods but not hyphens.
Ensure FilePaths::ahSettingsFile return the correct settings file when a site_name contains a hyphen
A hyphen is valid character in domain names.
Add a multisite with a hyphen in the name to a project on Acquia Cloud using Acquia Recommended Settings. example: childrens-school.domain.com
Thank you @danepowell. I learned str_replace can accept arrays for search and/or replace.
Thanks. I think there's a CI outage right now but I'll circle back to this tomorrow.
Fixes #
86
Motivation
Acquia Cloud does not support hyphens in db names. FilePaths::ahSettingsFile handles periods but not hyphens.
Proposed changes
Ensure FilePaths::ahSettingsFile return the correct settings file when a site_name contains a hyphen
Alternatives considered
A hyphen is valid character in domain names.
Testing steps
Add a multisite with a hyphen in the name to a project on Acquia Cloud using Acquia Recommended Settings. example: childrens-school.domain.com