You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is related to #12549 and as discussed in the comments, sanitizing headComponents would ensure that plugins that do similar transformations as the one in that issue can assume that all elements are actual components.
Steps to reproduce
As of now it is possible to call setHeadComponents or replaceHeadComponents with any values and there are no sanity checks in place.
Expected result
Empty values (null, empty array) should be filtered out.
Actual result
Everything gets added.
Environment
Not environment specific.
The text was updated successfully, but these errors were encountered:
Description
This is related to #12549 and as discussed in the comments, sanitizing
headComponents
would ensure that plugins that do similar transformations as the one in that issue can assume that all elements are actual components.Steps to reproduce
As of now it is possible to call
setHeadComponents
orreplaceHeadComponents
with any values and there are no sanity checks in place.Expected result
Empty values (null, empty array) should be filtered out.
Actual result
Everything gets added.
Environment
Not environment specific.
The text was updated successfully, but these errors were encountered: