ReqSSRF.BlockedError exception (ReqSSRF v0.1.0)

Copy Markdown View Source

Exception that is raised if a URL fails the SSRF check.

The userinfo of the URL is redacted in the exception message and when the struct is inspected, since a submitted URL can contain credentials and the struct ends up in log lines.

See ReqSSRF.

Summary

Types

t()

@type t() :: %ReqSSRF.BlockedError{
  __exception__: term(),
  reason: ReqSSRF.reason(),
  url: String.t() | URI.t()
}