Blame SOURCES/0005-metno-Use-as-arguments-separator-in-query.patch

7f8f23
From 1e3706da2a737e78c879847d31c55226c990b338 Mon Sep 17 00:00:00 2001
7f8f23
From: Bastien Nocera <hadess@hadess.net>
7f8f23
Date: Tue, 12 Jan 2021 14:22:28 +0100
7f8f23
Subject: [PATCH 5/7] metno: Use "&" as arguments separator in query
7f8f23
7f8f23
According to the HTML5 spec ";" is no longer allowed. This was
7f8f23
automatically rewritten in Varnish, but was temporary measure
7f8f23
and was likely to disappear if on cache/load balancer change.
7f8f23
7f8f23
Closes: #72
7f8f23
---
7f8f23
 libgweather/weather-yrno.c | 2 +-
7f8f23
 1 file changed, 1 insertion(+), 1 deletion(-)
7f8f23
7f8f23
diff --git a/libgweather/weather-yrno.c b/libgweather/weather-yrno.c
7f8f23
index 13ee8537..e5c2e75a 100644
7f8f23
--- a/libgweather/weather-yrno.c
7f8f23
+++ b/libgweather/weather-yrno.c
7f8f23
@@ -597,7 +597,7 @@ yrno_start_open_new (GWeatherInfo *info)
7f8f23
     g_ascii_dtostr (latstr, sizeof(latstr), RADIANS_TO_DEGREES (loc->latitude));
7f8f23
     g_ascii_dtostr (lonstr, sizeof(lonstr), RADIANS_TO_DEGREES (loc->longitude));
7f8f23
 
7f8f23
-    url = g_strdup_printf("https://" API_ENDPOINT_DOMAIN "/weatherapi/locationforecast/2.0/classic?lat=%s;lon=%s", latstr, lonstr);
7f8f23
+    url = g_strdup_printf("https://" API_ENDPOINT_DOMAIN "/weatherapi/locationforecast/2.0/classic?lat=%s&lon=%s", latstr, lonstr);
7f8f23
 
7f8f23
     message = soup_message_new ("GET", url);
7f8f23
     _gweather_info_begin_request (info, message);
7f8f23
-- 
7f8f23
2.30.2
7f8f23