mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
parent
da8a485087
commit
60a126024c
@ -24,8 +24,9 @@ class Plugin
|
|||||||
end
|
end
|
||||||
|
|
||||||
private def process_filename(str)
|
private def process_filename(str)
|
||||||
return "_" if str == ".."
|
str
|
||||||
str.gsub "/", "_"
|
.gsub(/[\/\s\.\177\000-\031]/, "_")
|
||||||
|
.gsub(/__+/, "_")
|
||||||
end
|
end
|
||||||
|
|
||||||
private def download(job : Queue::Job)
|
private def download(job : Queue::Job)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user