Don't lose equal signs in query param values

This commit is contained in:
Dieter Houthooft 2022-08-26 13:04:36 +02:00
parent 353552d9f1
commit 9bfe687ede

View File

@ -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)