3lips icon indicating copy to clipboard operation
3lips copied to clipboard

ADS-B server with non-standard port fails due to URL encoding

Open Rubinsergei opened this issue 10 months ago • 0 comments

If I specify a server with a non-standard port in the config file using the colon : syntax (e.g. 10.9.15.7:8087), the code later URL-encodes this value into 10.9.15.7%3A8087, which causes issues in downstream requests.

For example, the following is generated https://10.9.15.7%3A8087/data/aircraft.json which is interpreted as:

host='10.9.15.7%3A8087', port=443 and fails with a NameResolutionError.

Rubinsergei avatar Jun 27 '25 08:06 Rubinsergei