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: Handle data: URIs more consistently #19

Merged
merged 1 commit into from Mar 1, 2022

Conversation

isaacs
Copy link
Contributor

@isaacs isaacs commented Nov 8, 2021

  1. No longer requires ;base64 to be included on data: URIs.
  2. Supports immediately aborting data: URIs.

Fix: #18

References

@isaacs isaacs force-pushed the isaacs/handle-data-urls-properly branch 2 times, most recently from 229649c to 561782a Compare November 8, 2021 20:24
@isaacs isaacs requested a review from nlf November 9, 2021 15:27
@isaacs isaacs force-pushed the isaacs/handle-data-urls-properly branch from 3cd69ff to 5255b79 Compare November 9, 2021 17:47
@wraithgar wraithgar force-pushed the isaacs/handle-data-urls-properly branch from 5255b79 to a8526e1 Compare March 1, 2022 19:34
1. No longer requires `;base64` to be included on `data:` URIs.
2. Supports immediately aborting `data:` URIs.

Fix: #18
@wraithgar wraithgar force-pushed the isaacs/handle-data-urls-properly branch from a8526e1 to fb2237f Compare March 1, 2022 19:38
Comment on lines +18 to +19
// XXX this should really be split up and unit-ized for easier testing
// and better DRY implementation of data/http request aborting
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@wraithgar wraithgar merged commit 3a11fe4 into main Mar 1, 2022
@wraithgar wraithgar deleted the isaacs/handle-data-urls-properly branch March 1, 2022 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] data urls are not handled properly
3 participants