fix: unsafe external link (#2356)

This commit is contained in:
Joel 2024-02-02 15:42:42 +08:00 • committed by GitHub
commit 5a004ae429
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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>