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: Request::path(&self): show / to user if internal path bytes is `` (empty) #74

Merged
merged 2 commits into from
Feb 5, 2024

Conversation

kanarus
Copy link
Member

@kanarus kanarus commented Feb 5, 2024

  • Add a comment describing why it's ok to force-strip trailing / in request path even if raw path was just /
  • Fix: Request::path(&self) to show user / if internal path bytes is `` (empty, e.t. the original request path was /)

@kanarus kanarus merged commit a88bde9 into main Feb 5, 2024
16 checks passed
@kanarus kanarus deleted the fix_request_path_handling branch February 5, 2024 16:47
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.

1 participant