Fix problems with receiving errors in a query string via a direct link rather than a redirect, as done by 5apps.