Skip to content

Commit c4f1424

Browse files
committed
Avoid security vulnerability with attribute target='_blank'
Using this attribute unaccompanied by rel='noreferrer noopener' is a severe security vulnerability according to https://mathiasbynens.github.io/rel-noopener/. The target='_blank' attributes should be accompanied with rel='noreferrer noopener'.
1 parent 41ea642 commit c4f1424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KeyboardShortcutsDialog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class KeyboardShortcutsDialog extends React.Component {
7575
</TableBody>
7676
</Table>
7777
<DialogContentText variant="body1">
78-
For keyboard shortcuts in the text editor, please visit <a href="https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts" target="_blank">Ace Default Keyboard Shortcuts</a>
78+
For keyboard shortcuts in the text editor, please visit <a href="https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts" target="_blank" rel="noreferrer noopener">Ace Default Keyboard Shortcuts</a>
7979
</DialogContentText>
8080
</DialogContent>
8181
</Dialog>

0 commit comments

Comments
 (0)