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

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