Closed JonasKs closed 2 years ago
Some basic regex.
Appends .mp4 to the uploaded file, if there is no file extension.
.mp4
In other words, if user names his file abcd, it will be named abcd.mp4. If the user names the file abcd.mp4 it will be named abcd.mp4.
abcd
abcd.mp4
Some basic regex.
Appends
.mp4
to the uploaded file, if there is no file extension.In other words, if user names his file
abcd
, it will be namedabcd.mp4
. If the user names the fileabcd.mp4
it will be namedabcd.mp4
.