News for hackers. Stuff that matters.
Re:Simple text editor has over 15k monthly users by avip on Thursday February 06, 2020 @02:12AM (#22254093)
Should I feel dumb about not quite understanding why this url works?
Re:Simple text editor has over 15k monthly users by goodside on Thursday February 06, 2020 @02:18AM (#22254123)
Not at all. It’s called a data URI, and most people will never have any reason to think about them. They’re mostly useful for inlining very small icons in CSS files as hexdumps. https://en.wikipedia.org/wiki/Data_URI_scheme
Re:Simple text editor has over 15k monthly users by nkrisc on Thursday February 06, 2020 @07:04AM (#22255402)
You often see these data URLs used with a different content type and more usually a base64 encoded blob, often an image.