[libgweather] Avoid redirects from US Weather Service



commit ab8bc2e4bb2457b22dc9e17cc95366f93e482367
Author: Daniel Aleksandersen <code daniel priv no>
Date:   Wed Apr 20 14:18:31 2016 +0200

    Avoid redirects from US Weather Service
    
    https://bugzilla.gnome.org/show_bug.cgi?id=765322

 libgweather/weather-metar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgweather/weather-metar.c b/libgweather/weather-metar.c
index b8ac2b1..2263b82 100644
--- a/libgweather/weather-metar.c
+++ b/libgweather/weather-metar.c
@@ -620,7 +620,7 @@ metar_start_open (GWeatherInfo *info)
     loc = &priv->location;
 
     msg = soup_form_request_new (
-       "GET", "http://weather.noaa.gov/cgi-bin/mgetmetar.pl";,
+       "GET", "http://weather.noaa.gov/mgetmetar.php";,
        "cccc", loc->code,
        NULL);
     _gweather_info_begin_request (info, msg);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]