better validation for bulk update requests
This commit is contained in:
@@ -348,6 +348,11 @@ module Danbooru
|
||||
"zDMSATq0W3hmA5p3rKTgD"
|
||||
end
|
||||
|
||||
# impose additional requirements to create tag aliases and implications
|
||||
def strict_tag_requirements
|
||||
true
|
||||
end
|
||||
|
||||
# For downloads, if the host matches any of these IPs, block it
|
||||
def banned_ip_for_download?(ip_addr)
|
||||
raise ArgumentError unless ip_addr.is_a?(IPAddr)
|
||||
|
||||
Reference in New Issue
Block a user