mirror of
https://github.com/ryan-haskell/elm-spa.git
synced 2024-09-11 12:35:44 +03:00
Don't lose equal signs in query param values
This commit is contained in:
parent
353552d9f1
commit
9bfe687ede
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user