Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Add 'rel' attribute to default welcome page. (#5695)
Browse files Browse the repository at this point in the history
add rel attribute as a precaution against reverse tabnabbing in future
  • Loading branch information
neilisfragile authored and richvdh committed Jul 19, 2019
1 parent b73ce4b commit 5c05ae7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/5695.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add precautionary measures to prevent future abuse of `window.opener` in default welcome page.
4 changes: 2 additions & 2 deletions synapse/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
</div>
<h1>It works! Synapse is running</h1>
<p>Your Synapse server is listening on this port and is ready for messages.</p>
<p>To use this server you'll need <a href="https://matrix.org/docs/projects/try-matrix-now.html#clients" target="_blank">a Matrix client</a>.
<p>To use this server you'll need <a href="https://matrix.org/docs/projects/try-matrix-now.html#clients" target="_blank" rel="noopener noreferrer">a Matrix client</a>.
</p>
<p>Welcome to the Matrix universe :)</p>
<hr>
<p>
<small>
<a href="https://matrix.org" target="_blank">
<a href="https://matrix.org" target="_blank" rel="noopener noreferrer">
matrix.org
</a>
</small>
Expand Down

0 comments on commit 5c05ae7

Please sign in to comment.