mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-29 03:42:20 +02:00
Block Referer header from being sent when clicking links
Before this change, any links a user clicks on will be sent the full The Lounge URL the user is coming from. While not too big of an issue, especially since URL fragments (channel IDs) aren't sent, this provides a little bit of a privacy improvement.
This commit is contained in:
parent
9f05a75c39
commit
bf1583c514
|
@ -46,6 +46,9 @@
|
|||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="theme-color" content="<%- themeColor %>">
|
||||
|
||||
<!-- Block Referer header from being sent when clicking links -->
|
||||
<meta name="referrer" content="no-referrer">
|
||||
|
||||
</head>
|
||||
<body class="<%- public ? " public" : "" %>" data-transports="<%- JSON.stringify(transports) %>">
|
||||
<div id="app"></div>
|
||||
|
|
Loading…
Reference in a new issue