Extra space, no name? #4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I was just trying your dataurl command line tool and the output of encoding an HTML file was
data:text/html; charset=utf-8;base64,...instead ofdata:text/html;charset=utf-8;base64,.... I'm guessing the tool is intending to putname=index.html;where the space is beforecharset. But is failing for some reason.Any chance of this getting looked at? It's been over two months since this issue was posted and it's the only open issue in the repo. An acknowledgement that this was seen and your currently too busy to look into it would be fine.
@runeimp The space actually comes from
mime.TypeByExtension(). There is currently no behavior to add thenameparameter when encoding a file. That's something that could be done easily though.