From a58531caa6cc8adebbd7d888a4a7e7697939b410 Mon Sep 17 00:00:00 2001 From: Artem Anoshin Date: Tue, 4 Jul 2023 09:32:47 +0400 Subject: [PATCH] Updated plugin version --- README.md | 6 ++++++ anti-ddos-lite.php | 2 +- composer.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index beed2da..6c0fdf3 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,12 @@ Skip trusted User-Agents. Regular expressions are allowed, example is bellow. ``` ## Changelog +Version 2.0.2 +* Fix. A document.write vulnerability fixed. +* Fix. UA list converted to regular expressions. +* Fix. UptimeRobot UA. +* Fix. Trusted UA is skipped correctly. + Version 2.0.1 * New. Headless mode detection. * Fix. Now visitors without JS will be blocked correctly. diff --git a/anti-ddos-lite.php b/anti-ddos-lite.php index 842e9b5..58acc73 100644 --- a/anti-ddos-lite.php +++ b/anti-ddos-lite.php @@ -3,7 +3,7 @@ /** * Cleantalk base class * - * @version 2.0.1 + * @version 2.0.2 * @package Cleantalk * @author Cleantalk team (welcome@cleantalk.org) * @copyright (C) CleanTalk team (https://cleantalk.org) diff --git a/composer.json b/composer.json index e7077e2..b3562ee 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "cleantalk/anti-ddos-lite", "description": "A small PHP app to protect your site against DDoS attack or crawling web site by bots.", - "version": "2.0.1", + "version": "2.0.2", "authors": [ { "name": "CleanTalk Team",