πŸ‡―πŸ‡΅Japan @neptuneDG

Account created on 27 September 2023, 9 months ago
#

Recent comments

πŸ‡―πŸ‡΅Japan neptuneDG

Hi!

The patch at #33 didn't work for me because my installation 4.0.0 is a submodule of lightning_workflow and has slightly different code. I rerolled it for 4.0.0 as a submodule.

πŸ‡―πŸ‡΅Japan neptuneDG

That is what we think. We think it is related to core aggregation on Drupal 10 and are looking for solutions outside of this module. It does seem to be a duplicated for that one, but at least mine has a solution =P

πŸ‡―πŸ‡΅Japan neptuneDG

I needed this patch for my site, so I compiled NicholasS's changes here. In an ideal world, his changes wouldn't take more than two months to merge.

This patch worked for me with the latest version of the module on Drupal 10.

Thanks a lot.

πŸ‡―πŸ‡΅Japan neptuneDG

If you think that |raw is unsafe in this situation, then you already have a vulnerability. In the very same twig, you call the following line:

<article id="{{ id }}" {{attributes.addClass(classes)}}>

The output of attributes.addClass(classes) is marked as safe by twig and returns all attributes without escapes. Because the attributes I have marked as |raw are also inside that, I am not adding an additional vulnerability with this change.

At the moment in your current implementation, your data attributes are not escaped, yet your user-visible tags are escaped.

πŸ‡―πŸ‡΅Japan neptuneDG

This patch worked for me.

πŸ‡―πŸ‡΅Japan neptuneDG

neptuneDG β†’ created an issue.

Production build 0.69.0 2024