fix: unsafe external link (#2356)

This commit is contained in:
Joel
2024-02-02 15:42:42 +08:00
committed by GitHub
parent 04fb610fe7
commit 5a004ae429
9 changed files with 12 additions and 12 deletions

View File

@@ -108,7 +108,7 @@ const KeyValidator = ({
/>
))
}
<a className="flex items-center text-xs cursor-pointer text-primary-600" href={keyFrom.link} target={'_blank'}>
<a className="flex items-center text-xs cursor-pointer text-primary-600" href={keyFrom.link} target='_blank' rel='noopener noreferrer'>
{keyFrom.text}
<LinkExternal02 className='w-3 h-3 ml-1 text-primary-600' />
</a>