Commit 5a3cc322 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette

fix bug: "sanitize_filename" wasnt returning filename

parent e0234054
......@@ -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