diff --git a/DotNetCasClient/CasAuthentication.cs b/DotNetCasClient/CasAuthentication.cs index 357cf9d..11424f4 100644 --- a/DotNetCasClient/CasAuthentication.cs +++ b/DotNetCasClient/CasAuthentication.cs @@ -737,13 +737,13 @@ internal static void ProcessSingleSignOutRequest() protoLogger.Debug("Examining request for single sign-out signature"); - if (request.HttpMethod == "POST" && request.Form["logoutRequest"] != null) + if (request.HttpMethod == "POST" && request.Unvalidated.Form["logoutRequest"] != null) { protoLogger.Debug("Attempting to get CAS service ticket from request"); // TODO: Should we be checking to make sure that this special POST is coming from a trusted source? // It would be tricky to do this by IP address because there might be a white list or something. - string casTicket = ExtractSingleSignOutTicketFromSamlResponse(request.Params["logoutRequest"]); + string casTicket = ExtractSingleSignOutTicketFromSamlResponse(request.Unvalidated.Form["logoutRequest"]); if (!String.IsNullOrEmpty(casTicket)) { protoLogger.Info("Processing single sign-out request for " + casTicket);