class CMSScanner::Error::HTTPRedirect
HTTP Redirect Error
Attributes
redirect_uri[R]
Public Class Methods
new(url)
click to toggle source
@param [ String ] url
# File lib/cms_scanner/errors/http.rb, line 61 def initialize(url) @redirect_uri = Addressable::URI.parse(url).normalize end
Public Instance Methods
to_s()
click to toggle source
# File lib/cms_scanner/errors/http.rb, line 65 def to_s "The URL supplied redirects to #{redirect_uri}. Use the --ignore-main-redirect "\ 'option to ignore the redirection and scan the target, or change the --url option ' \ 'value to the redirected URL.' end