fix(web): potentially unsafe external links (#1027)

* fix(web): potentially unsafe external links

* for good measure

* add noopener as well
This commit is contained in:
soup 2023-08-15 23:10:45 +02:00 committed by GitHub
parent 75d0a0d9db
commit 0fa53b0b2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -322,6 +322,7 @@ const FeedItemDropdown = ({
<a
href={`${baseUrl()}api/feeds/${feed.id}/latest`}
target="_blank"
rel="noopener noreferrer"
className={classNames(
active ? "bg-blue-600 text-white" : "text-gray-900 dark:text-gray-300",
"font-medium group flex rounded-md items-center w-full px-2 py-2 text-sm"