Fix unicode errors with the redirect middleware again (bug 1097147))
Merge pull request #403 from magopian/1097147-unicode-errors-middleware

Fix unicode errors with the redirect middleware again (bug 1097147))