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
Этот коммит содержится в:
Jeff Abshire
2019-11-08 12:27:37 -08:00
коммит произвёл Daniel Schalla
родитель c0c47df3f0
Коммит 7600d9c169

Просмотреть файл

@@ -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>