Преглед на файлове

Security Update

Potentially unsafe external link
B0zal преди 1 година
родител
ревизия
5e23ad2db1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/components/sidebar.tsx

+ 1 - 1
app/components/sidebar.tsx

@@ -174,7 +174,7 @@ export function SideBar(props: { className?: string }) {
             </Link>
           </div>
           <div className={styles["sidebar-action"]}>
-            <a href={REPO_URL} target="_blank">
+            <a href={REPO_URL} target="_blank" rel="noopener noreferrer">
               <IconButton icon={<GithubIcon />} shadow />
             </a>
           </div>