Remove a potential tabnabbing attack in a template. (#13024)

My company's security scanner picked up on a potential problem in this
template in our deployed Mattermost instance.

https://www.owasp.org/index.php/Reverse_Tabnabbing
This commit is contained in:
Jeff Abshire
2019-11-08 21:27:37 +01:00
committed by Daniel Schalla
parent c0c47df3f0
commit 7600d9c169
+1 -1
View File
@@ -292,7 +292,7 @@
{{template "unsupported_browser-system_browser" .Props.SystemBrowser}}
{{end}}
<div class='learn-more-about-sup'>
<a href='https://docs.mattermost.com/install/requirements.html#pc-web' target='_blank'>{{.Props.LearnMoreString}}</a>
<a href='https://docs.mattermost.com/install/requirements.html#pc-web' target='_blank' rel='noopener noreferrer'>{{.Props.LearnMoreString}}</a>
</div>
</div>
</div>