After upgrading to Drupal 10.4+ view mode page patterns are not recognizing the '%' wildcard win the pattern
Tried both '%' and '/%' as the wildcard both create unwanted results, the first causes the '%' to become '%25' the second causes incorrect strings and duplicate parameters to be added to the url string resulting in page not found issues
Steps to reproduce, update core from 10.3+ to 10.4+ , anywhere view_mode pattern is being used with a wildcard in place link is now broken and showing a '%25' in place of where the wildcard should be dynamically replaced.
Active
4.0
Code