mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
Add rel noreferrer to download link (#8006)
This commit is contained in:
parent
d4968bb225
commit
e459e30c50
@ -15,6 +15,7 @@ export class WebFileDownloadService implements FileDownloadService {
|
||||
if (builder.downloadMethod === "save") {
|
||||
a.download = request.fileName;
|
||||
} else if (!this.platformUtilsService.isSafari()) {
|
||||
a.rel = "noreferrer";
|
||||
a.target = "_blank";
|
||||
}
|
||||
a.href = URL.createObjectURL(builder.blob);
|
||||
|
Loading…
Reference in New Issue
Block a user