Skip to content

CSP prohibits custom icons specified as external URLs #3243

@uhafner

Description

@uhafner

The warnings plugin has a feature, that lets pipeline users or freestyle job owners to specify a custom icon for any of the created Actions that are shown in the side bar. This icon can be a symbol, an icon of the warnings plugin, an icon in Jenkins public web folder, or a remote URL.

(See

void shouldReportResultWithDifferentIdNameAndIconInStep(final String fileName) {
)

When the icon is set to an external url, e.g. https://raw.githubusercontent.com/pmd/pmd/master/docs/images/logo/PMD_small.svg, then the icon is not rendered anymore.

@daniel-beck can you have a look at it?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions