TL;DR. golang.org/x/net/idna.Lookup.ToASCII runs UTS-46 NFKC mapping 0-9. A pre-IDNA net.ParseIP check rejects the NO_PROXY lists, TLS-SNI routers, and cookie-domain validators that TrimRight + ParseAddr golang.org/x/net/http/httpproxy, the canonical safe pattern, and two I ran into this one while writing a Go HTTP client for a private project. I idna.Lookup.ToASCII canonicalising the host The sha
While setting up Apache Airflow using Docker on Windows 11 WSL, I needed to extend the image to install some python packages. I created a dockerfile and requirements.txt, but every time I ran "docker-compose up --build", I received the error: ERROR: Invalid requirement: '<package-name': Expected semicolon (after name with no version specifier) or end To fix the error, I needed to change the encod