Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd72b45a

Browse files
authored
@W-18815267: Add XSS warning to deprecated component (#3181)
1 parentb8ce1c1 commitd72b45a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎components/illustration/check-props.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (process.env.NODE_ENV !== 'production') {
1111
componentIsDeprecated(
1212
COMPONENT,
1313
props,
14-
'This was decided due to issues with shadow DOM preventing imported SVG files from detecting SLDS styles. Please visit https://www.lightningdesignsystem.com/components/illustration/ to copy the provided example code for use in your application.'
14+
'This was decided due to issues with shadow DOM preventing imported SVG files from detecting SLDS styles. Please visit https://www.lightningdesignsystem.com/components/illustration/ to copy the provided example code for use in your application. For security reasons, DO NOT use the `path` prop with user-provided SVG files as it can lead to XSS vulnerability.'
1515
);
1616
};
1717
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp