Skip to content

Best practices: Detect if URL is local using RedirectHttpResult.IsLocalUrl #34759

@Rick-Anderson

Description

@Rick-Anderson

Description

Detect if URL is local using RedirectHttpResult.IsLocalUrl


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/best-practices?view=aspnetcore-9.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/best-practices.md

Document ID

5cc05b6c-c671-3607-3217-7db73ebc1f28

Article author

@mjrousos

Metadata

  • ID: 9599d917-4e43-f1ae-452a-1f11aaa985ed
  • PlatformId: 2c8a02f8-5505-1f48-a126-32e97e96abaf
  • Service: aspnet-core
  • Sub-service: fundamentals

Related Issues

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions