Open jruere opened 1 week ago
From: https://github.com/encode/httpx/discussions/2586
Accept already encoded domains, and do not attempt to decode them. This way, any IDNA encoding would be accepted, and it's up to the application to decide the policy of what to actually accept.
I don't think the proposed change would help with redirections to IDNA2003 sites.
Accept already encoded domains, and do not attempt to decode them.
Yes, this would be the smart policy.
From: https://github.com/encode/httpx/discussions/2586
Accept already encoded domains, and do not attempt to decode them. This way, any IDNA encoding would be accepted, and it's up to the application to decide the policy of what to actually accept.