You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
ParseUrlAsync should not throw the exception, a custom redirecting HttpHandler would be required due to .NET Core not having an option for "DangerousAllowAutoRedirect" see dotnet/runtime#28039
Ideally, an option or a set of options allows us to inject a custom httphandler to the httpdownloader, or there's a flag we can provide to allow for dangerous redirects by the package.
The text was updated successfully, but these errors were encountered:
Describe the bug
When calling ParseUrlAsync on a url that has a
Location
header from https to http, an exception is thrown, due to .NET coreAllowAutoRedirect
not following those redirects. See https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclienthandler.allowautoredirect?view=net-8.0To Reproduce
Steps to reproduce the behavior:
Expected behavior
ParseUrlAsync should not throw the exception, a custom redirecting HttpHandler would be required due to .NET Core not having an option for "DangerousAllowAutoRedirect" see dotnet/runtime#28039
Ideally, an option or a set of options allows us to inject a custom httphandler to the httpdownloader, or there's a flag we can provide to allow for dangerous redirects by the package.
The text was updated successfully, but these errors were encountered: