Fetcher::RedirectConfig
Redirect security configuration allow_external: if false (default), redirects to external domains are blocked allowed_domains: optional allowlist of specific domains for external redirects allow_permanent_external: if true (default), 301/308 permanent redirects to external domains are allowed. These represent the resource URL moving permanently (e.g. blog relocations from blogspot.com to custom domains).
Constructors
Instance methods
allow_external
allow_permanent_external
allowed_domains
clone
Sourcecopy_with(allow_external _allow_external = @allow_external, allowed_domains _allowed_domains = @allowed_domains, allow_permanent_external _allow_permanent_external = @allow_permanent_external)
Source