haskell-servant / haskell-servant/servant

`parseBaseUrl` strips trailing slashes

Open
#781 10 comments 0 reactions 2 assignees Claimed by @phadej View on GitHub
bug servant-client
Dominant language
Haskell
Stars
2k
Forks
427
Avg merge
2d 23h
Merged PRs (30d)
5

Description

What is the rationale for this? We have API endpoints which must be called with trailing slash, and we parse the endpoint URL from a configuration file with `parseBaseUrl`.

(Not sure whether this is a dup of #645; this is about not stripping a trailing slash rather than adding one.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.