mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 03:15:31 -04:00
parent
da8a485087
commit
60a126024c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user