Hi,
I use dokuwiki as a personnal board, I am the only user and the whole doku wiki access is restricted to registered user => I think I am more or less protected.
As I use this board for my work notes, I also use it to classify and store a large panel of files. I am tired of configure the mime type every time I want to upload a new type of file, which occurs quite often...
I modified inc/media.php, but it will be overwritten on next upgrade. Could you add an option to disable the extension verification, with 3 red warning and confirm screens if you want ^^
Another question: here the
if I commented. Could you confirm there are no side effects?
This line code is at ./inc/media.php:267
if(preg_match('/\.('.$regex.')$/i',$fn)){