From 635952a79757633b6b05de57b71e8d60e34134ec Mon Sep 17 00:00:00 2001 From: fr33domlover Date: Thu, 9 May 2019 22:03:19 +0000 Subject: [PATCH] When parsing a `LocalURI`, use a *valid* dummy host The previous dummy host was "h", which doesn't contain periods, so the `FedURI` parser rejects it. --- src/Network/FedURI.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Network/FedURI.hs b/src/Network/FedURI.hs index 031e651..0eadde4 100644 --- a/src/Network/FedURI.hs +++ b/src/Network/FedURI.hs @@ -147,7 +147,7 @@ data LocalURI = LocalURI deriving Eq dummyHost :: Text -dummyHost = "h" +dummyHost = "h.h" dummyPrefix :: Text dummyPrefix = "https://" <> dummyHost