Skip to content

Conversation

@psclcnrd
Copy link

@psclcnrd psclcnrd commented Aug 1, 2025

Ensure trailing slash is added only when the path does not contain a query string. This prevents incorrect URL formatting in specific cases involving query parameters.

Note: Important for my client, TotalEnergies
pascal.conrad@pm.me

Ensure trailing slash is added only when the path does not contain a query string. This prevents incorrect URL formatting in specific cases involving query parameters.
@suricactus
Copy link
Collaborator

Hi, @psclcnrd , thanks for your PR. Actually what we are building on top of this PR is already quite unstable, I added a more robust way of detecting and adding trailing slashes, see #83 .

I hope this does not discourage you to open new PRs, very happy to improve the library.

@suricactus suricactus closed this Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants