about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components/status_header.js
diff options
context:
space:
mode:
authorBSKY <git@bsky.moe>2019-10-25 05:44:42 +0900
committerThibaut Girka <thib@sitedethib.com>2019-10-27 14:36:25 +0100
commit59946f923148ce2efdc6ac6a1a289d0ee09b68f3 (patch)
tree580b37ecdcd0874de2b27b45bcea3f9f3bde9330 /app/javascript/flavours/glitch/components/status_header.js
parent4a0281d8c489a66f23217a377d2c991d0eaecbfe (diff)
[Glitch] Add noopener and/or noreferrer
Port fccf83e1f2ecd4e23f7b1faee5330976d17da7b8 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/components/status_header.js')
-rw-r--r--app/javascript/flavours/glitch/components/status_header.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/components/status_header.js b/app/javascript/flavours/glitch/components/status_header.js
index 23cff286a..06296e124 100644
--- a/app/javascript/flavours/glitch/components/status_header.js
+++ b/app/javascript/flavours/glitch/components/status_header.js
@@ -56,6 +56,7 @@ export default class StatusHeader extends React.PureComponent {
             target='_blank'
             className='status__avatar'
             onClick={this.handleAccountClick}
+            rel='noopener noreferrer'
           >
             {statusAvatar}
           </a>
@@ -64,6 +65,7 @@ export default class StatusHeader extends React.PureComponent {
             target='_blank'
             className='status__display-name'
             onClick={this.handleAccountClick}
+            rel='noopener noreferrer'
           >
             <DisplayName account={account} others={otherAccounts} />
           </a>