Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ad Aures
Castopod
Commits
339bef87
Commit
339bef87
authored
Dec 29, 2021
by
Yassine Doghri
Browse files
fix: add application/octet-stream mimetype to mp3 and m4a extensions to prevent ext_in error
fixes
#145
parent
ece476b3
Pipeline
#1176
passed with stages
in 10 minutes and 28 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/Config/Mimes.php
View file @
339bef87
...
...
@@ -131,7 +131,7 @@ class Mimes
'rar'
=>
[
'application/vnd.rar'
,
'application/x-rar'
,
'application/rar'
,
'application/x-rar-compressed'
],
'mid'
=>
'audio/midi'
,
'midi'
=>
'audio/midi'
,
'mp3'
=>
[
'audio/mpeg'
,
'audio/mpg'
,
'audio/mpeg3'
,
'audio/mp3'
],
'mp3'
=>
[
'audio/mpeg'
,
'audio/mpg'
,
'audio/mpeg3'
,
'audio/mp3'
,
'application/octet-stream'
],
'mpga'
=>
'audio/mpeg'
,
'mp2'
=>
'audio/mpeg'
,
'aif'
=>
[
'audio/x-aiff'
,
'audio/aiff'
],
...
...
@@ -236,7 +236,7 @@ class Mimes
'3g2'
=>
'video/3gpp2'
,
'3gp'
=>
[
'video/3gp'
,
'video/3gpp'
],
'mp4'
=>
'video/mp4'
,
'm4a'
=>
'audio/x-m4a'
,
'm4a'
=>
[
'audio/m4a'
,
'audio/x-m4a'
,
'application/octet-stream'
]
,
'f4v'
=>
[
'video/mp4'
,
'video/x-f4v'
],
'flv'
=>
'video/x-flv'
,
'webm'
=>
'video/webm'
,
...
...
Yassine Doghri
@yassine
mentioned in commit
3a0a76d7
·
Dec 29, 2021
mentioned in commit
3a0a76d7
mentioned in commit 3a0a76d705f0488503f55aec3ad362327cea4158
Toggle commit list
Yassine Doghri
@yassine
mentioned in commit
d807ab97
·
Jan 23, 2022
mentioned in commit
d807ab97
mentioned in commit d807ab9732d8e4ad1eae956f0b728f8a5c0f868d
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment