Commit 140f2d12 authored by Israel Barreto Sant'Anna's avatar Israel Barreto Sant'Anna
Browse files

Fixed ArgumentError in creation of Tempfile on TempFileBuilder


Signed-off-by: Israel Barreto Sant'Anna's avatarIsrael Barreto Sant'Anna <ibsa14@inf.ufpr.br>
parent 2a21a990
......@@ -16,6 +16,7 @@ module Dspace
filename.gsub!(/^.*(\\|\/)/, '')
# Strip out the non-ascii character
filename.gsub!(/[^0-9A-Za-z.\-]/, '_')
filename
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment