Merge pull request #7 from djmattyg007/template_security
* Add rel=noopener to the github link to prevent window.opener attacks. * Add no-referrer referrer policy to prevent leakage of sensitive info such as private domain names.
This commit is contained in:
commit
ae35a73a64
|
@ -5,6 +5,7 @@
|
|||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/hint.css/2.4.1/hint.min.css" integrity="sha256-7KczUWqIa/6KaIKtNfG18eilVQR4vJ4S9SSiDAplUwc=" crossorigin="anonymous">
|
||||
<meta name="referrer" content="no-referrer">
|
||||
<style type="text/css">
|
||||
body {
|
||||
padding-top: 50px;
|
||||
|
@ -30,7 +31,7 @@
|
|||
<h1 class="page-header" onclick="window.location = '#sid{{ server.sid }}'" id="sid{{ server.sid }}">Server {{ server.sid }}</h2>
|
||||
{% include 'stats.jinja2' %}
|
||||
{% endfor %}
|
||||
<small>Generated by <a href="https://github.com/Thor77/TeamspeakStats">TeamspeakStats</a> at {{ creation_time|frmttime }}</small>
|
||||
<small>Generated by <a href="https://github.com/Thor77/TeamspeakStats" rel="noopener">TeamspeakStats</a> at {{ creation_time|frmttime }}</small>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue