- Notifications
You must be signed in to change notification settings - Fork36
Closed
Description
After upgrading to version 2.0 I suddenly get aUnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 28856: invalid start byte.
This only happens when generating a report. So I added aprint statement toread_template_source and was surprised that it is reading files outside of the template directory. In my case the offending file is a changelog tucked away in a static dir:static/tiny_mce/changelog.txt.
This seems to be caused by the additional file extensions that are checked. I temporarily worked around this by settingtemplate_extensions = 'html'.
Metadata
Metadata
Assignees
Labels
No labels