- π¦πΊAustralia geoffreyr Sydney, AU / Gadigal country
Given that Drupal 7 has now reached its End Of Life β , this issue should be closed.
Thanks for all your hard work on this one. @joshmiller's patch in #28 is probably the approach you want to take to resolve this for your D7 sites, and can probably be managed within your codebases via Composer or Drush Patchfile, but it won't be merged into the Drupal 7 codebase.
This issue no longer applies in Drupal 8+ due to\Drupal\Core\Utility\Token::scan()
being strongly typed.