Closed veryrusty closed 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.
redirect '/'
redirect '/any/path/beginning/with/single/slash
This uses @gurnec's fix from #1611, with added tests.
Resolves #1611.
:+1: Nice work, @veryrusty!
:+1: Thanks @veryrusty!
Merged, thank you!
Consistent behaviour for
redirect '/'
andredirect '/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.