Skip to content

Commit

Permalink
fix(bridge-ui): prevent reverse tabnabbing attacks (#16583)
Browse files Browse the repository at this point in the history
  • Loading branch information
melvinmcrn committed Apr 1, 2024
1 parent 2cf26ec commit fc57d82
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/bridge-ui/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"title": "Approved token"
},
"tx": {
"message": "Track the {token} token approval status on the explorer <a href=\"{url}\" target=\"_blank\"><b>here</b></a>.",
"message": "Track the {token} token approval status on the explorer <a href=\"{url}\" target=\"_blank\" rel=\"noopener noreferrer\"><b>here</b></a>.",
"title": "Approval sent"
}
},
Expand All @@ -25,7 +25,7 @@
"title": "Transaction completed"
},
"tx": {
"message": "Your bridge transaction was confirmed. The transaction can take a few minutes to complete, track it <a href=\"{url}\" target=\"_blank\"><b>here</b></a>.",
"message": "Your bridge transaction was confirmed. The transaction can take a few minutes to complete, track it <a href=\"{url}\" target=\"_blank\" rel=\"noopener noreferrer\"><b>here</b></a>.",
"title": "Transaction sent"
}
},
Expand Down Expand Up @@ -146,7 +146,7 @@
"description": "Before initiating the bridge, it's necessary to first approve the transfer.",
"pending": "Please wait for your transaction to be picked up",
"success": {
"message": "Your approve transaction was confirmed. The transaction can take a few minutes to complete, track it <a class='link' href=\"{url}\" target=\"_blank\"><b>here</b></a>."
"message": "Your approve transaction was confirmed. The transaction can take a few minutes to complete, track it <a class='link' href=\"{url}\" target=\"_blank\" rel=\"noopener noreferrer\"><b>here</b></a>."
},
"title": "Approval required"
},
Expand All @@ -157,7 +157,7 @@
},
"bridge": {
"success": {
"message": "Your bridge transaction was confirmed. The transaction can take a few minutes to complete, track it <a class='link' href=\"{url}\" target=\"_blank\"><b>here</b></a>."
"message": "Your bridge transaction was confirmed. The transaction can take a few minutes to complete, track it <a class='link' href=\"{url}\" target=\"_blank\" rel=\"noopener noreferrer\"><b>here</b></a>."
}
},
"button": {
Expand Down Expand Up @@ -269,7 +269,7 @@
"title": "Token minted successfully"
},
"tx": {
"message": "Track the progress on the explorer <a href=\"{url}\" target=\"_blank\"><b>here</b></a>.",
"message": "Track the progress on the explorer <a href=\"{url}\" target=\"_blank\" rel=\"noopener noreferrer\"><b>here</b></a>.",
"title": "Transaction sent"
},
"unknown_error": "Something went wrong, please try again."
Expand Down Expand Up @@ -422,11 +422,11 @@
"title": "Request to claim rejected."
},
"success": {
"message": "Your transaction has been processed. Check the status in your wallet or the explorer <a href=\"{url}\" target=\"_blank\"><b>here</b></a>.",
"message": "Your transaction has been processed. Check the status in your wallet or the explorer <a href=\"{url}\" target=\"_blank\" rel=\"noopener noreferrer\"><b>here</b></a>.",
"title": "Transaction completed"
},
"tx": {
"message": "Track the progress on the explorer <a href=\"{url}\" target=\"_blank\"><b>here</b></a>.",
"message": "Track the progress on the explorer <a href=\"{url}\" target=\"_blank\" rel=\"noopener noreferrer\"><b>here</b></a>.",
"title": "Transaction sent"
}
},
Expand All @@ -439,7 +439,7 @@
"title": "Transaction completed"
},
"tx": {
"message": "Track the progress on the explorer <a href=\"{url}\" target=\"_blank\"><b>here</b></a>.",
"message": "Track the progress on the explorer <a href=\"{url}\" target=\"_blank\" rel=\"noopener noreferrer\"><b>here</b></a>.",
"title": "Transaction sent"
}
}
Expand Down

0 comments on commit fc57d82

Please sign in to comment.