aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/comment/video-comment.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-19 18:30:28 +0100
committerChocobozzz <me@florianbigard.com>2018-03-19 18:30:28 +0100
commit632c5e3629c2432371bb6339ad883208bff64ac2 (patch)
tree4f82091729030ded18b888d5ed3524f49d701b11 /client/src/app/videos/+video-watch/comment/video-comment.component.ts
parent9af61e84309c23ffbfd7562435a5fadd86cdf20c (diff)
downloadPeerTube-632c5e3629c2432371bb6339ad883208bff64ac2.tar.gz
PeerTube-632c5e3629c2432371bb6339ad883208bff64ac2.tar.zst
PeerTube-632c5e3629c2432371bb6339ad883208bff64ac2.zip
More secure target blank links
Diffstat (limited to 'client/src/app/videos/+video-watch/comment/video-comment.component.ts')
-rw-r--r--client/src/app/videos/+video-watch/comment/video-comment.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/comment/video-comment.component.ts b/client/src/app/videos/+video-watch/comment/video-comment.component.ts
index cfcefed83..26fc9d0b8 100644
--- a/client/src/app/videos/+video-watch/comment/video-comment.component.ts
+++ b/client/src/app/videos/+video-watch/comment/video-comment.component.ts
@@ -107,7 +107,8 @@ export class VideoCommentComponent implements OnInit, OnChanges {
107 return { 107 return {
108 tagName, 108 tagName,
109 attribs: Object.assign(attribs, { 109 attribs: Object.assign(attribs, {
110 target: '_blank' 110 target: '_blank',
111 rel: 'noopener noreferrer'
111 }) 112 })
112 } 113 }
113 } 114 }