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

Added option to ignore URI parsing errors #1

Merged
merged 1 commit into from
May 3, 2022

Conversation

AntiGuideAkquinet
Copy link
Collaborator

When initializing a DataServiceContext there was a mandatory URI check
relying on .NETs Uri.IsWellFormedUriString. Sadly there is an active
issue on the .NET side that incorrectly flags URIs like
"http://192.168.0.1:1234/Instance/ODataV4/Company('123-Customer Place
Süd-Ost')/" as being invalid. The progress is tracked here:
dotnet/runtime#21626
To give the user a simple option to prevent this issue from hindering
further development with the library I added a simple bool to ignore
this error.

When initializing a DataServiceContext there was a mandatory URI check
relying on .NETs Uri.IsWellFormedUriString. Sadly there is an active
issue on the .NET side that incorrectly flags URIs like
"http://192.168.0.1:1234/Instance/ODataV4/Company('123-Customer Place
Süd-Ost')/" as being invalid. The progress is tracked here:
dotnet/runtime#21626
To give the user a simple option to prevent this issue from hindering
further development with the library I added a simple bool to ignore
this error.
@AntiGuideAkquinet AntiGuideAkquinet merged commit 41d5b76 into master May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant