Tags: x0f5c3/mimetype
Tags
enable reusing records in csv/tsv detection (gabriel-vasile#443) This change should help with allocations, but ideally there would be no allocations when detecting csv. For that to happen the detection needs to move from using stdlib csv reader to something else.
Bump golang.org/x/net from 0.7.0 to 0.8.0 (gabriel-vasile#367) Bumps [golang.org/x/net](https://github.com/golang/net) from 0.7.0 to 0.8.0. - [Release notes](https://github.com/golang/net/releases) - [Commits](golang/net@v0.7.0...v0.8.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump actions/checkout from 3.0.1 to 3.0.2 (gabriel-vasile#279) Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.1 to 3.0.2. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3.0.1...v3.0.2) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
add html utf8 bom signature (gabriel-vasile#268) * detect HTML with utf8 BOM signature; closes gabriel-vasile#267 * make BOM have priority over HTML meta in charset detection: gabriel-vasile#268 (comment) Co-authored-by: Gabriel Vasile <[email protected]>
Merge pull request gabriel-vasile#188 from gabriel-vasile/utf-control… …-chars Exclude weird control characters from valid utf8 text/plain
Check for EOF in DetectReader; for gabriel-vasile#162 Before v1.2.0, DetectReader returned text/plain for empty inputs. After v1.2.0, it started returning EOF error. This commit changes DetectReader behavior to how it was before v1.2.0
PreviousNext