- Respond to invalid request URL with 400 (Gareth Jones)
- Drop support for Rack 1.5 (Tyler Hunt)
- Add support for Rack 3.0 (Vinny Diehl)
- Remove unneeded gem directives (Olle Jonsson)
- Support lambda/proc on
:if
and:ignore
options (Sean Huber) - Drop support for Ruby versions 2.3, 2.4, and 2.5 (Tyler Hunt)
- Use equality to determine string matches on
:if
and:ignore
- Add regexp support for
:ignore
option (Daniel Searles)
- Add
:cache_control
option (Pete Nicholls)
- Relax Rack dependency to allow for Rack 2 (Tyler Ewing)
- Normalize redirect URL to avoid XSS vulnerability (Thomas Maurer)
- Remove
:force_ssl
option in favor of using rack-ssl (Nathaniel Bibler)
- Add
:force_ssl
option (Jeff Carbonella)
- Add
:if
option (Nick Ostrovsky) - Improve documentation (Joost Schuur)
- Switch to
Addressable::URI
for URI parsing (Tyler Hunt)
- Fix handling of URLs containing
|
characters (Tyler Hunt)
- Prevent redirect if the canonical host is
nil
(Tyler Hunt)
- Rename
ignored_hosts
option toignore
(Tyler Hunt)
- Add option to ignored certain hosts (Eric Allam)
- Add tests (Nathaniel Bibler)
- Add HTML response body on redirect
- Set
Content-Type
header on redirect (Jon Wood) - Improve documentation (Peter Baker)
- Allow
env
to be passed to the optional block (Tyler Hunt)
- Move
CanonicalHost
intoRack
namespace (Tyler Hunt)
- Initial release (Tyler Hunt)