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

[Git][debian-mate-team/libmateweather][debian/bookworm/updates] debian/patches: Add follow-up patch...



Title: GitLab

Mike Gabriel pushed to branch debian/bookworm/updates at Debian and Ubuntu MATE Packaging Team / libmateweather

Commits:

  • 84120205
    by Mike Gabriel at 2024-01-06T08:26:02+01:00
    debian/patches: Add follow-up patch 0004b_The-url-with-www.-is-a-permanent-redirect-308-to-the.patch. The url with 'www.aviationweather.gov' is a permanent redirect (308) to the url without 'www.'.
    

2 changed files:

Changes:

  • debian/patches/0004b_The-url-with-www.-is-a-permanent-redirect-308-to-the.patch
    1
    +From 5b068a6e73e96db512ca8c60a11d31c068a5375f Mon Sep 17 00:00:00 2001
    
    2
    +From: Olivier Gagnon <ogagnon@ludia.com>
    
    3
    +Date: Sun, 19 Nov 2023 13:47:25 -0500
    
    4
    +Subject: [PATCH] The url with 'www.' is a permanent redirect (308) to the url
    
    5
    + without it
    
    6
    +
    
    7
    +Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
    
    8
    +---
    
    9
    + libmateweather/weather-metar.c | 2 +-
    
    10
    + 1 file changed, 1 insertion(+), 1 deletion(-)
    
    11
    +
    
    12
    +diff --git a/libmateweather/weather-metar.c b/libmateweather/weather-metar.c
    
    13
    +index 0ae2cbb..7bc24fc 100644
    
    14
    +--- a/libmateweather/weather-metar.c
    
    15
    ++++ b/libmateweather/weather-metar.c
    
    16
    +@@ -550,7 +550,7 @@ metar_start_open (WeatherInfo *info)
    
    17
    +     }
    
    18
    + 
    
    19
    +     msg = soup_form_request_new (
    
    20
    +-        "GET", "https://www.aviationweather.gov/cgi-bin/data/dataserver.php",
    
    21
    ++        "GET", "https://aviationweather.gov/cgi-bin/data/dataserver.php",
    
    22
    +         "dataSource", "metars",
    
    23
    +         "requestType", "retrieve",
    
    24
    +         "format", "xml",
    
    25
    +-- 
    
    26
    +2.39.2
    
    27
    +

  • debian/patches/series
    ... ... @@ -2,5 +2,6 @@
    2 2
     0002_add-San-Miguel-de-Tucuman-Argentina.patch
    
    3 3
     0003_Chicago-area-updates.patch
    
    4 4
     0004_data-server-url-changed.patch
    
    5
    +0004b_The-url-with-www.-is-a-permanent-redirect-308-to-the.patch
    
    5 6
     0005_fix-some-location-names.patch
    
    6 7
     0006_tbilisi-IATA-airport-code-changed.patch


  • Reply to: