in reply to Problem with uploaded (http) files with File::MMagic
line 271 in that file had the following:
0 regex BEGIN[[:space:]]*[{] application/x-awkAs suggested (by roboticus), I took it out. I did not get the error, but I got the mime type as
application/octet-stream
instead of audio/mpeg
I am thinking of going another way of finding the mime type. Changing system files to get it to work may not always work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with uploaded (http) files with File::MMagic
by roboticus (Chancellor) on Dec 24, 2012 at 15:55 UTC |