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
Этот коммит содержится в:
коммит произвёл
Daniel Schalla
родитель
c0c47df3f0
Коммит
7600d9c169
@@ -292,7 +292,7 @@
|
|||||||
{{template "unsupported_browser-system_browser" .Props.SystemBrowser}}
|
{{template "unsupported_browser-system_browser" .Props.SystemBrowser}}
|
||||||
{{end}}
|
{{end}}
|
||||||
<div class='learn-more-about-sup'>
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user