Skip to content

More robust auto redirection #436

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

Merged
merged 3 commits into from
Aug 3, 2024
Merged

More robust auto redirection #436

merged 3 commits into from
Aug 3, 2024

Conversation

Blacksmoke16
Copy link
Member

Context

Follow up to #307 to provide a more robust implementation. Mainly ensuring query params are included in the redirection. Also adds some related utility methods used within the implementation.

Changelog

  • Add ATH::Request#port
  • Add ATH::Response#redirect?
  • Fix query parameters being dropped when redirecting to a trailing/non-trailing slash endpoint

@Blacksmoke16 Blacksmoke16 added kind:bug An existing feature isn't working as expected component:framework kind:feature Brand new functionality labels Aug 3, 2024
@Blacksmoke16 Blacksmoke16 merged commit f222054 into master Aug 3, 2024
12 checks passed
@Blacksmoke16 Blacksmoke16 deleted the better-redirects branch August 3, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:framework kind:bug An existing feature isn't working as expected kind:feature Brand new functionality
Development

Successfully merging this pull request may close these issues.

1 participant