- Issue created by @steven jones
See 🐛 white spaces in cache tag Active where someone has enqueued a cache tag for invalidation that contains a space, and then the purger plugin is deciding that that is an error.
Drupal cache tags should not contain spaces → , so purge module should validate them as such.
There's already a method \Drupal\purge\Plugin\Purge\Invalidation\TagInvalidation::validateExpression
that does validation, it could also validate for spaces.
Purge some cache tags with a space.
Validate that the cache tag doesn't contain a space in \Drupal\purge\Plugin\Purge\Invalidation\TagInvalidation::validateExpression
Decide if this is a sensible idea etc.
Active
3.0
Code