Fix for domains that have the string .css in them
authorMathieu Lutfy <mathieu@symbiotic.coop>
Wed, 14 Jun 2023 20:30:11 +0000 (16:30 -0400)
committerMathieu Lutfy <mathieu@bidon.ca>
Thu, 15 Jun 2023 15:19:44 +0000 (11:19 -0400)
commit4ac186e602a3071a0294aa3e1c456abc7fc1d711
tree4ae0dc425249f8e02a36c6f4e0fdf13f711c87b9
parent29548b2fa8ec574dd8a736999debe9d55c1b7d61
Fix for domains that have the string .css in them

preg_match is used because we also have to match on items from the
asset builder, which have URL params in the filename.

Example:
[...]q=civicrm%2Fasset%2Fbuilder&an=crm-menubar.css&ad=9caf2150754dca162f3a
CRM/Core/Resources/Common.php