Skip to content
#

mime

Here are 194 public repositories matching this topic...

jnury
jnury commented Jan 22, 2020

What I did: json.Marshal(envelope)

What I expected: convert an Envelope object into Json

What I got: a stack overflow when envelope contains at least one part

Release or branch I am using: master

Please find attached a file to reproduce. As I understand the problem, there is an infinite loop while walking the Envelope object as we can go to Envelope.Root.FirstChild.Parent.FirstChild.Pa

xlotlu
xlotlu commented May 2, 2020

Release 1.0.7 broke the specialised matchers that are still documented here https://h2non.github.io/filetype.py/v1.0.0/match.m.html

One could make the argument that these functions are internal API since they're not officially documented in the examples, so it's ok to break them without even a minor version bump.

However, given the usefulness of these functions (e.g. for scenarios in which o

dd8
dd8 commented Apr 10, 2018

In https://mimesniff.spec.whatwg.org/#parsing-a-mime-type the following step might be clearer if it explicitly said the trailing sequence after " was to be discarded. Might also be better if the example contains a ';' since the step mentions ';'

Current:

Collect a sequence of code points that are not U+003B (;) from input, given position.
Example: Given text/html;charset="shift_jis"iso-20

Improve this page

Add a description, image, and links to the mime topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mime topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.