mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-29 01:04:52 +09:00
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.
This commit is contained in:
parent
273fcf972f
commit
635952a797
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ data LocalURI = LocalURI
|
|||
deriving Eq
|
||||
|
||||
dummyHost :: Text
|
||||
dummyHost = "h"
|
||||
dummyHost = "h.h"
|
||||
|
||||
dummyPrefix :: Text
|
||||
dummyPrefix = "https://" <> dummyHost
|
||||
|
|
Loading…
Reference in a new issue