Simon Effenberg - 2009-12-08

Patch against segfault and mime type problem