From 9bfe687ede0943712bbe8bf7aa22864c8a62c662 Mon Sep 17 00:00:00 2001 From: Dieter Houthooft Date: Fri, 26 Aug 2022 13:04:36 +0200 Subject: [PATCH] Don't lose equal signs in query param values --- src/ElmSpa/Request.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ElmSpa/Request.elm b/src/ElmSpa/Request.elm index d7fa70af..2e75efd6 100644 --- a/src/ElmSpa/Request.elm +++ b/src/ElmSpa/Request.elm @@ -109,7 +109,7 @@ query str = >> (\eq -> Maybe.map2 Tuple.pair (List.head eq) - (eq |> List.drop 1 |> List.head |> Maybe.withDefault "" |> Just) + (eq |> List.drop 1 |> String.join "=" |> Just) ) ) |> List.map (Tuple.mapBoth decode decode)