fix: frontend security risk (#2355)

This commit is contained in:
Joel 2024-02-02 15:24:17 +08:00 • committed by GitHub
commit a667d04e53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 59 additions and 53 deletions

View file

@ -28,7 +28,7 @@ const Billing: FC = () => {
<div>
<PlanComp loc={'billing-page'} />
{enableBilling && isCurrentWorkspaceManager && billingUrl && (
<a className='mt-5 flex px-6 justify-between h-12 items-center bg-gray-50 rounded-xl cursor-pointer' href={billingUrl} target='_blank'>
<a className='mt-5 flex px-6 justify-between h-12 items-center bg-gray-50 rounded-xl cursor-pointer' href={billingUrl} target='_blank' rel='noopener noreferrer'>
<div className='flex items-center'>
<ReceiptList className='w-4 h-4 text-gray-700' />
<div className='ml-2 text-sm font-normal text-gray-700'>{t('billing.viewBilling')}</div>