You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SubsiteDomain::getSubstitutedDomain() - Refactor domains into separate wildcards / primary domains.
If follow logic of existing comments,
- @property string $Domain domain name of this subsite. Can include wildcards.
- If there are wildcards in the primary domain (not recommended), make some educated guesses about what to replace them with:
We are looking * wildcards in some domains like test.*(first-level subdomains - tes.com) in the getSubstitutedDomain method, so I assume, that the main idea here to process wildcards for second-level subdomains, currently we do it like this, see here or any other ways provided wildcards, something like test.*.* (test.test.com) or *.test.* (new.test.com).
@sabina-talipova Can you please provide more context, or close it if you don't have any additional context? It's not clear what is actually meant to happen for this one.
I don't think this is worth spending time on for now. If someone finds that this is a signigicant blocker for their use case they can provide additional context and we can reconsider.
Description
SubsiteDomain::getSubstitutedDomain() - Refactor domains into separate wildcards / primary domains.
If follow logic of existing comments,
We are looking
*
wildcards in some domains liketest.*
(first-level subdomains -tes.com
) in thegetSubstitutedDomain
method, so I assume, that the main idea here to process wildcards for second-level subdomains, currently we do it like this, see here or any other ways provided wildcards, something liketest.*.*
(test.test.com) or*.test.*
(new.test.com).See:
silverstripe-subsites/src/Model/SubsiteDomain.php
Line 183 in 86f01d2
The text was updated successfully, but these errors were encountered: