Partial conversion of files when calling trac.mimeview.api.Mimeview.convert_content
|Reported by:||Owned by:|
In the aforementioned function there is a branch that is used to guess the content type of the input file. In order to do that
max_preview_size bytes are read from the beginning of the file, and then the file is not used anymore. This means that only that first block is converted rather than the whole file.