Skip to content
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

🐛 (TfsEndpointOptions.cs): improve URL validation logic for Collection property #2388

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

MrHinsh
Copy link
Member

@MrHinsh MrHinsh commented Sep 23, 2024

The previous implementation used Uri.IsWellFormedUriString which is less robust. The new implementation uses Uri.TryCreate to ensure the Collection property is a valid URL, providing more accurate validation and error handling. This change enhances the reliability of the URL validation process.

…n property

The previous implementation used `Uri.IsWellFormedUriString` which is less robust. The new implementation uses `Uri.TryCreate` to ensure the Collection property is a valid URL, providing more accurate validation and error handling. This change enhances the reliability of the URL validation process.
@nkdagility-actions-bot
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-river-093197403-2388.westeurope.5.azurestaticapps.net

@nkdagility-actions-bot
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-river-093197403-2388.westeurope.5.azurestaticapps.net

@MrHinsh MrHinsh merged commit cf9e444 into main Sep 23, 2024
11 checks passed
@MrHinsh MrHinsh deleted the topic/update-url-validtor branch September 23, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant