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

Commit b93f684

Browse files
committed
Add 'rel' attribute to default welcome page. (#5695)
2 parents 4f89046 + 5c05ae7 commit b93f684

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

changelog.d/5695.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add precautionary measures to prevent future abuse of `window.opener` in default welcome page.

synapse/static/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@
4848
</div>
4949
<h1>It works! Synapse is running</h1>
5050
<p>Your Synapse server is listening on this port and is ready for messages.</p>
51-
<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>.
51+
<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>.
5252
</p>
5353
<p>Welcome to the Matrix universe :)</p>
5454
<hr>
5555
<p>
5656
<small>
57-
<a href="https://matrix.org" target="_blank">
57+
<a href="https://matrix.org" target="_blank" rel="noopener noreferrer">
5858
matrix.org
5959
</a>
6060
</small>

0 commit comments

Comments
 (0)