mirror of
https://github.com/hkalexling/Mango.git
synced 2026-01-24 00:03:14 -05:00
@@ -24,8 +24,9 @@ class Plugin
|
||||
end
|
||||
|
||||
private def process_filename(str)
|
||||
return "_" if str == ".."
|
||||
str.gsub "/", "_"
|
||||
str
|
||||
.gsub(/[\/\s\.\177\000-\031]/, "_")
|
||||
.gsub(/__+/, "_")
|
||||
end
|
||||
|
||||
private def download(job : Queue::Job)
|
||||
|
||||
Reference in New Issue
Block a user