Closed (fixed)
Project:
Roles Classes
Version:
8.x-1.5
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
23 Jun 2022 at 09:08 UTC
Updated:
25 May 2026 at 12:02 UTC
Jump to comment: Most recent
The user role is a safe enough string, we may however pass it through the Html::cleanCssIdentifier
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Component%21Util...
Comments
Comment #3
dkmishra commentedComment #5
dkmishra commented