Fix redirect location for escaped URI

Set redirect location to pristine `parsed.pathname` instead of url-decoded `pathname`