Skip to content

CSP errors #15965

@cetincakiroglu

Description

@cetincakiroglu

There are several csp errors with the components below:

  • calendar
  • carousel
  • confirmdialog
  • dialog
  • orderlist
  • picklist
  • table
  • toast

This happens due to wrong order of actions when appending the style elements to the DOM.

How it's now:

1- a style element is created in TS
2- a style element is added to the DOM
3- nonce attribute is added to the DOM

How it should be:

1- a style element is created in TS
2- the nonce attribute is added to the style element
3- style element is added to the DOM

Metadata

Metadata

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not workingType: SecurityIssue contains a security problem or enhancement related to a specific component

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions