This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
Redirecting to non-ASCII URL #6609
Closed
Description
public IAction Index()
{
return Redirect(Url.Content("~/ů"));
}
throws InvalidOperationException: Invalid non-ASCII or control character in header: 0x016F with no user code on stack.
The framework decided to put that URL into HTTP header which changed its encoding requirements, so I would expect it to fulfil them. Users might not know or care how the redirect is done and it is not clear what header is the error about.