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.
1 parent e95ade8 commit 662ab9eCopy full SHA for 662ab9e
lib/wayback_machine_downloader.rb
@@ -217,6 +217,7 @@ def download_file file_remote_info
217
file_path = backup_path + file_path_elements[0..-1].join('/')
218
end
219
if Gem.win_platform?
220
+ dir_path = dir_path.gsub(/[:*?&=<>\\|]/) {|s| '%' + s.ord.to_s(16) }
221
file_path = file_path.gsub(/[:*?&=<>\\|]/) {|s| '%' + s.ord.to_s(16) }
222
223
unless File.exists? file_path
0 commit comments