METAR URLs have changed (issue #439)

Nick G4IRX
 

Anyone using METARs sourced from http://tgftp.nws.noaa.gov/data/observations/metar/stations/$STATION.TXT will notice they get redirected to the https:// version of the site. I've taken a quick look at the code to see if I can find where it is defined and fix it, but so far I've not had any success.

modules/metarinfo/ModuleMetarInfo.cpp - line 2067 should probably be changed from http to https.

{
    getpath = "GET http://";
    getpath += server;
    getpath += "/";
    getpath += link;
    getpath += "/";
    getpath += icao;
    getpath += ".TXT HTTP/1.0\015\012\015\012";
  }

Anyone else had any luck?

Nick.

Join svxlink@groups.io to automatically receive all group messages.