Add missing rel noreferrer noopener attributes (#25125)

This commit is contained in:
Michael Telatynski 2023-04-17 13:51:30 +01:00 committed by GitHub
parent 38dbd66474
commit fc49190efe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,7 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
<a <a
href={iosCustomUrl || "https://apps.apple.com/app/vector/id1083446067"} href={iosCustomUrl || "https://apps.apple.com/app/vector/id1083446067"}
target="_blank" target="_blank"
rel="noreferrer noopener"
className="mx_ClearDecoration" className="mx_ClearDecoration"
> >
<img height="48" src="themes/element/img/download/apple.svg" alt="Apple App Store" /> <img height="48" src="themes/element/img/download/apple.svg" alt="Apple App Store" />
@ -63,6 +64,7 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
<a <a
href={andCustomUrl || "https://play.google.com/store/apps/details?id=im.vector.app"} href={andCustomUrl || "https://play.google.com/store/apps/details?id=im.vector.app"}
target="_blank" target="_blank"
rel="noreferrer noopener"
className="mx_ClearDecoration" className="mx_ClearDecoration"
key="android" key="android"
> >
@ -76,6 +78,7 @@ const CompatibilityView: React.FC<IProps> = ({ onAccept }) => {
<a <a
href={fdroidCustomUrl || "https://f-droid.org/repository/browse/?fdid=im.vector.app"} href={fdroidCustomUrl || "https://f-droid.org/repository/browse/?fdid=im.vector.app"}
target="_blank" target="_blank"
rel="noreferrer noopener"
className="mx_ClearDecoration" className="mx_ClearDecoration"
key="fdroid" key="fdroid"
> >