Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Unescape encoded filenames. Fixes GH-3

Thanks Roger Pack for the hint.

Signed-off-by: Gordon Thiesfeld <gthiesfeld@gmail.com>
  • Loading branch information...
commit 77ddd3ccb344ec34274b87452369271274209ff9 1 parent a952d18
@luislavena luislavena authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/contrib/uri_ext.rb
View
2  lib/contrib/uri_ext.rb
@@ -189,7 +189,7 @@ def total()
else
truncated = file_name
end
- progress_bar.format = "#{truncated}: %3d%% %s %s/%s %s"
+ progress_bar.format = "#{CGI.unescape(truncated)}: %3d%% %s %s/%s %s"
progress_bar.format_arguments = [:percentage, :bar, :bytes, :total, :stat]
progress_bar.bar_mark = "o"
Please sign in to comment.
Something went wrong with that request. Please try again.