Skip to content

Commit 5b1c41b

Browse files
authored
Merge pull request #11 from yoching/fix-query-string
Fix query percent encoding
2 parents 3a41ce9 + 5fe8c58 commit 5b1c41b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/UnisonLocal/Api.elm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ codebaseApiEndpointToEndpoint cbEndpoint =
9292
refToString r =
9393
case Reference.hashQualified r of
9494
HQ.NameOnly fqn ->
95-
FQN.toApiUrlString fqn
95+
-- Using plain `toString` here because percentEncoded is added in elm/url's query param builder below
96+
fqn |> FQN.toString
9697

9798
HQ.HashOnly h ->
9899
withoutConstructorSuffix h

0 commit comments

Comments
 (0)