CRM_Utils_File::isAbsolute does not respect PHP stream wrappers
Given an install with Drupal and CiviCRM, the
CRM_Utils_File::isAbsolute method does not respect paths that are prefixed with a stream wrapper. For example, this breaks if using Kernel tests and a mocked file system. Paths are prefixed with
vfs://. Also, you may be using AWS to store files and leveraging an
s3:// stream wrapper.
file_private_pathto a stream wrapper path
- Install CiviCRM
- Explodes as CiviCRM prefixes the valid path with the core Drupal path