hyperlink icon indicating copy to clipboard operation
hyperlink copied to clipboard

RFC2397 Data URIs

Open mahmoud opened this issue 6 years ago • 1 comments

Percent-encoding isn't limited by utf-8 or any other underlying encoding, and thus can represent pretty much any data. RFC2397 takes advantage of this to jam whatever data you want, along with a mimetype into a URL.

If usage is common enough, the implementation doesn't overcomplicate, I think this might make sense for a built-in hyperlink feature. The first step is definitely to research how broadly this is used.

mahmoud avatar Oct 11 '17 18:10 mahmoud

https://github.com/EclecticIQ/python-data-uri is a good starting point should we decide we want to include data URI functionality.

mahmoud avatar Oct 11 '17 18:10 mahmoud