Method IsLocalUrl(string?)

Assembly: redb.Tsak.Web.dll

Only a local, single-slash-rooted path is a safe post-login redirect target. Absolute URLs,
protocol-relative (//host) and back-slash tricks (/\host) are rejected so a
crafted returnUrl cannot bounce the user off-site.

public static bool IsLocalUrl(string? url)