Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trailing slash preservation in URI #28

Merged
merged 1 commit into from Jan 23, 2024
Merged

Fix trailing slash preservation in URI #28

merged 1 commit into from Jan 23, 2024

Conversation

picoHz
Copy link
Owner

@picoHz picoHz commented Jan 23, 2024

This pull request fixes an issue where the trailing slash in the URI was not being preserved. The problem was occurring in the RequestFilter struct, where the path was being split incorrectly. This PR updates the code to correctly split the path and preserve the trailing slash. Additionally, it includes tests to ensure the fix is working as expected.

@picoHz picoHz added the bug Something isn't working label Jan 23, 2024
@picoHz picoHz merged commit 9819c30 into main Jan 23, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant