antoniop
committed
on 16 Aug 18
Let max_depth behave as specified (0 disables redirection). Many thanks to Markus Moser