Skip to content
Snippets Groups Projects
Commit 15767346 authored by Matheus Agio Nerone's avatar Matheus Agio Nerone
Browse files

removing only the first dot


Signed-off-by: default avatarman13 <man13@inf.ufpr.br>
parent ca7595e6
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ class ChunksController < ApplicationController
end
def resumable_file_extension
File.extname(chunks_params[:resumableFilename]).tr('.','')
File.extname(chunks_params[:resumableFilename])[1..-1]
end
def valid_mime_type?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment