Partial conversion of files when calling trac.mimeview.api.Mimeview.convert_content
|Reported by:||olemis+trac@…||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.
Change History (5)
comment:2 follow-up: ↓ 3 Changed 3 years ago by cboos
- Component changed from general to rendering
- Milestone set to next-major-0.1X