Revert "Fix unicode errors with the redirect middleware (bug 1097147)"

Reverts mozilla/olympia#362