Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bridge-ui): prevent reverse tabnabbing attacks #16583

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading