Wrong domain search

Created on 7 September 2022, over 2 years ago
Updated 27 June 2024, 6 months ago

Problem/Motivation

We have project with multiple environments in Acquia with this type of domains

  • devsub.domain.com
  • stagesub.domain.com
  • sub.domain.com

For first two module works fine, but for third one getUuidAndDomains method in AcquiaPurgeVarnishController class returns wrong API URL.

As it's matching URLs with
preg_match("/{$currentDomain}/i", $domains)
logic, it will return true if we are seeking "sub.domain.com" domain in "devsub.domain.com" domains environment.

πŸ› Bug report
Status

Fixed

Version

1.6

Component

Code

Created by

πŸ‡¦πŸ‡²Armenia mac501

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024