Fix length access in redirection guide
Merge pull request #1335 from alexspeller/fix-redirecting-guide

Fix length access in redirection guide