Procházet zdrojové kódy

Security Update

Potentially unsafe external link
B0zal před 1 rokem
rodič
revize
5e23ad2db1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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>