Problem/Motivation
The wildcard character does not work unless the * is at the end of the URL.
Steps to reproduce
1. Add the following URL with the class to the configuration of a specific page class: /node/*/edit|my-edit
2. Check any node edit page. The page is missing a class
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | after applying patch.png | 356.46 KB | yogesh kambari |
| #2 | module setting.png | 186.7 KB | yogesh kambari |
| page_specific_class-wildcard_fix.patch | 837 bytes | pablo_pukha |
Comments
Comment #2
yogesh kambari commentedHi,
Patch looks good to me. Validated on Drupal instance with version 10.1.2-dev. Attaching screenshots for reference.
Comment #4
hardik_patel_12 commentedThanks, @Pablo_Pukha and @Yogesh Kambari, the issue has been fixed to the 2.0.x branch.
Comment #6
krakenbite commentedI reverted this commit. It breaks wildcard. Needs check
Comment #7
avpadernoComment #8
pablo_pukha commentedCould you clarify what issue you encountered with the wildcard? I don't have any issues with this fix