Not logged in. · Lost password · Register
Forum: General Help and Support Features and Functionality RSS
mime.conf to allow unusual doc type upload
Avatar
cingham #1
Member since Aug 2007 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: mime.conf to allow unusual doc type upload
Hello,

A client would like to be able to upload Caseware Compressed Files (.ac_ extension) to their DokuWiki. I have added the following line to the mime.conf file:

ac_     application/internet-property-stream

But I still receive the error: "Upload denied. This file extension is forbidden!"

I am waiting for a reply from Caseware Support to confirm the mime type of .ac_ files. Does anyone have any advice for allowing uploads of unusual file types?

Thanks in advance!
Clint
Avatar
andi (Administrator) #2
User title: splitbrain
Member since May 2006 · 3500 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
The upload security check does not care for the mime-type, but only for the extension - so this most probably not your problem. I think the problem is in how DokuWiki determines the extension of a file. It probably (incorrectly) does not consider an underscore a valid part of an file extension. Please submit a bug report in the tracker.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
cingham #3
Member since Aug 2007 · 2 posts
Group memberships: Members
Show profile · Link to this post
Hi Andi,

Thank you for the suggestion, I have posted this topic to the bug tracker. As a temporary solution my client is zipping the .ac_ files then uploading to their wiki.

Clint
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-11-18, 19:00:30 (UTC +01:00)