Closed (won't fix)
Project:
Shortcode
Version:
2.0.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2019 at 20:37 UTC
Updated:
6 Dec 2020 at 16:15 UTC
Jump to comment: Most recent
Comments
Comment #2
dbielke1986 commentedComment #3
denes.szabo commentedThe problem with the embed content is the circular reference. From A content you can embed B, and from the B you can embed A again.
It can cause an endless embedding loop. I have no solution for it. This is the issue about it: https://www.drupal.org/project/shortcode/issues/3067786
(Actually a guy already added a security ticket about it - this loop can brings the site down. Technically it is not a security issue, but…)
If I can get the content/entity id from the current text we are processing I could build a stack from the ids to prevent put same id twice. Unfortunately I can't.
So, I removed the embed content macro from the release. Maybe I would start a new project for this macro.