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

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