t.web.util.redirectTo should reject unicode URLs
|Reported by:||ivank||Owned by:||exarkun|
If you have something like this in your render:
return redirectTo(url, request)
and you pass a unicode object as the url, you get a rather mysterious error page from twisted.web (with the redirection headers set!):
"500 - Request did not return a string"
redirectTo should really just throw TypeError if you pass in a unicode object.