Prechádzať zdrojové kódy

Security Update

Potentially unsafe external link
B0zal 1 rok pred
rodič
commit
5e23ad2db1
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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>