We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa5977c + 662ab9e commit c360d46Copy full SHA for c360d46
lib/wayback_machine_downloader.rb
@@ -260,6 +260,7 @@ def download_file file_remote_info
260
file_path = backup_path + file_path_elements[0..-1].join('/')
261
end
262
if Gem.win_platform?
263
+ dir_path = dir_path.gsub(/[:*?&=<>\\|]/) {|s| '%' + s.ord.to_s(16) }
264
file_path = file_path.gsub(/[:*?&=<>\\|]/) {|s| '%' + s.ord.to_s(16) }
265
266
unless File.exist? file_path
0 commit comments