Added check for newlines in redirects as a paranoia guard against header injection...