diff --git a/pkg/obiformats/universal_read.go b/pkg/obiformats/universal_read.go index 2d9a9d0..e8b08ef 100644 --- a/pkg/obiformats/universal_read.go +++ b/pkg/obiformats/universal_read.go @@ -107,6 +107,7 @@ func OBIMimeTypeGuesser(stream io.Reader) (*mimetype.MIME, io.Reader, error) { mimetype.Lookup("application/octet-stream").Extend(csv, "text/csv", ".csv") // Create a buffer to store the read data + mimetype.SetLimit(1024 * 1024) buf := make([]byte, 1024*1024) n, err := io.ReadFull(stream, buf) diff --git a/pkg/obioptions/version.go b/pkg/obioptions/version.go index 02e39bb..ac18caf 100644 --- a/pkg/obioptions/version.go +++ b/pkg/obioptions/version.go @@ -8,7 +8,7 @@ import ( // corresponds to the last commit, and not the one when the file will be // commited -var _Commit = "fbe7d15" +var _Commit = "706b44c" var _Version = "Release 4.4.0" // Version returns the version of the obitools package.