Closed Bug 1705178 Opened 4 years ago Closed 4 years ago

Investigate whether anchor tags with the download attribute may bypass data URI limits

Categories

(GeckoView :: General, task, P3)

Unspecified
All
task

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

Details

Attachments

(1 file)

This is based on a discussion that began over in bug 1668952 and then moved over to Matrix.

The question is whether we can exempt the data URI when it is a download, such as this:

<a download='{filename}' id='DownloadAnchor' 
                            href='data:application/octet-stream;base64,{base64_string}' target='_self'>Download</a>

We need to see how the download attribute affects delegate invocation, among other things.

Severity: -- → S3
Priority: -- → P3

Good Afternoon! Has there been any discussion on this? Just curious.

Attached file base64.html

As we suspected, download is now possible after Bug 1668952. I was able to create a a element with a 9.5mb base64-encoded URL and download it on Nightly without any problems.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME

Thank you!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: