From 1e9340e22298ff7c4be4a2117c18a83c229fd210 Mon Sep 17 00:00:00 2001 From: pxadmin Date: Sun, 16 Sep 2018 11:46:36 +0300 Subject: [PATCH 1/2] removed unneeded function --- PerimeterXModule/Internals/ReverseProxy.cs | 32 ---------------------- 1 file changed, 32 deletions(-) diff --git a/PerimeterXModule/Internals/ReverseProxy.cs b/PerimeterXModule/Internals/ReverseProxy.cs index 6132e8b..ddb5251 100644 --- a/PerimeterXModule/Internals/ReverseProxy.cs +++ b/PerimeterXModule/Internals/ReverseProxy.cs @@ -151,38 +151,6 @@ public void ReversePxCaptcha(HttpContext context) bool success = ProcessRequest(context, PxConfig.CaptchaHostUrl, uri); - - - - } - - /** - * - * Reverse requests for PerimeterX captcha client - * - * The original request context - */ - public void ReversePxCaptcha(HttpContext context) - { - Debug.WriteLine("Fetching Captcha client", PxConstants.LOG_CATEGORY); - if (!PxConfig.FirstPartyEnabled) - { - Debug.WriteLine("First party is disabled, rendering default captcha client response", PxConstants.LOG_CATEGORY); - RenderPredefinedResponse(context, CONTENT_TYPE_JAVASCRIPT, DEFAULT_CLIENT_VALUE); - return; - } - - string uri = "/" + PxConfig.AppId + context.Request.RawUrl.Replace(CaptchaReversePrefix, ""); - - - bool success = ProcessRequest(context, PxConfig.CaptchaHostUrl, uri); - - if (!success) - { - Debug.WriteLine("Redirect JS client returned bad status, rendering default response", PxConstants.LOG_CATEGORY); - RenderPredefinedResponse(context, CONTENT_TYPE_JAVASCRIPT, DEFAULT_CLIENT_VALUE); - } - } /** From 87952dd4ed30ca7fb708f6d8ba146bdf27170f56 Mon Sep 17 00:00:00 2001 From: pxadmin Date: Sun, 16 Sep 2018 11:47:45 +0300 Subject: [PATCH 2/2] version 2.7.1 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0cb58e8..1206e53 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [PerimeterX](http://www.perimeterx.com) ASP.NET SDK =================================================== -> Latest stable version: [v2.7.0](https://www.nuget.org/packages/PerimeterXModule/2.7.0) +> Latest stable version: [v2.7.1](https://www.nuget.org/packages/PerimeterXModule/2.7.1) Table of Contents -----------------