Fix misinterpretation of '+' in URI paths, fixes #408

This commit is contained in:
2024-01-03 00:42:01 +08:00
parent 55030d83da
commit d46bdbf959
2 changed files with 6 additions and 1 deletions

View File

@@ -855,7 +855,7 @@ getGpgOpts =
-- "baz"
urlBaseName :: ByteString -- ^ the url path (without scheme and host)
-> ByteString
urlBaseName = snd . B.breakEnd (== _slash) . urlDecode False
urlBaseName = snd . B.breakEnd (== _slash)
-- | Curl saves all intermediate connect headers as well, not just the last one, so we make an effort to take the