PerlDancer / Dancer2

Perl Dancer Next Generation (rewrite of Perl Dancer)
http://perldancer.org/
Other
542 stars 274 forks source link

Bugfix/1611 redirect forwardslash #1617

Closed veryrusty closed 3 years ago

veryrusty commented 3 years ago

Consistent behaviour for redirect '/' and redirect '/any/path/beginning/with/single/slash when mounted on a non-root path. Both will get the scriptname prepended to the Location header path.

This uses @gurnec's fix from #1611, with added tests.

Resolves #1611.

cromedome commented 3 years ago

:+1: Nice work, @veryrusty!

SysPete commented 3 years ago

:+1: Thanks @veryrusty!

cromedome commented 3 years ago

Merged, thank you!