Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Rick-Anderson opened this issue Feb 18, 2025 · 1 comment · Fixed by #35240
Closed

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

Rick-Anderson opened this issue Feb 18, 2025 · 1 comment · Fixed by #35240
Assignees
Labels
10.0 .NET 10 aspnet-core/svc fundamentals/subsvc Source - Docs.ms Docs Customer feedback via GitHub Issue

Comments

@Rick-Anderson
Copy link
Contributor

Rick-Anderson commented Feb 18, 2025

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

@Rick-Anderson
Copy link
Contributor Author

@martincostello can you think of a better doc to add RedirectHttpResult.IsLocalUrl ?

@dotnetrepoman dotnetrepoman bot added the mapQuest clean move label Mar 7, 2025
@dotnet-policy-service dotnet-policy-service bot removed the mapQuest clean move label Mar 7, 2025
@dotnetrepoman dotnetrepoman bot added the mapQuest clean move label Mar 7, 2025
@Rick-Anderson Rick-Anderson moved this from 🔖 Ready to 🏗 In progress in dotnet/AspNetCore.Docs March 2025 sprint Mar 7, 2025
@dotnet-policy-service dotnet-policy-service bot removed the mapQuest clean move label Mar 7, 2025
@Rick-Anderson Rick-Anderson added the 10.0 .NET 10 label Mar 10, 2025
@Rick-Anderson Rick-Anderson moved this from 🔖 Ready to 🏗 In progress in dotnet/AspNetCore.Docs April 2025 sprint Mar 31, 2025
@Rick-Anderson Rick-Anderson moved this from 🏗 In progress to 👀 In review in dotnet/AspNetCore.Docs April 2025 sprint Apr 16, 2025
@dotnetrepoman dotnetrepoman bot added the mapQuest clean move label Apr 16, 2025
@Rick-Anderson Rick-Anderson moved this from 👀 In review to 🏗 In progress in dotnet/AspNetCore.Docs April 2025 sprint Apr 16, 2025
@dotnet-policy-service dotnet-policy-service bot removed the mapQuest clean move label Apr 16, 2025
@Rick-Anderson Rick-Anderson moved this from 🏗 In progress to 👀 In review in dotnet/AspNetCore.Docs April 2025 sprint Apr 16, 2025
@dotnetrepoman dotnetrepoman bot added the mapQuest clean move label Apr 16, 2025
@dotnet-policy-service dotnet-policy-service bot removed the mapQuest clean move label Apr 16, 2025
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in dotnet/AspNetCore.Docs April 2025 sprint Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.0 .NET 10 aspnet-core/svc fundamentals/subsvc Source - Docs.ms Docs Customer feedback via GitHub Issue
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant