Issue #228 duplicate

basic check of contentype at upload

Reimar Bauer
created an issue

On a text item you can upload an image. This leads into a traceback of {{{ UnicodeDecodeError: 'utf8' codec can't decode byte 0xff in position 0: invalid start byte }}}

Yeah stupid things done gives stupid results.

I think we should have a solution out of this two possibilities

a) check contenttype and do nothing if no match or show plain if possible b) change contenttype according to the real one used

Comments (3)

  1. Log in to comment