Skip to content

More robust auto redirection#436

Merged
Blacksmoke16 merged 3 commits intomasterfrom
better-redirects
Aug 3, 2024
Merged

More robust auto redirection#436
Blacksmoke16 merged 3 commits intomasterfrom
better-redirects

Conversation

@Blacksmoke16
Copy link
Copy Markdown
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
@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