Skip to content

Commit

Permalink
Escape slash in filename when downloading (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkalexling committed Jun 9, 2020
1 parent 717d44e commit bac7be5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rename.cr
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ module Rename
else
e.render hash
end
end.join.strip
end.join
.strip
.gsub("/", "_")
end
end
end

0 comments on commit bac7be5

Please sign in to comment.