From 3cf727d65ef22b7bace15eb347f4ba8275035dc6 Mon Sep 17 00:00:00 2001 From: khodakhah Date: Sun, 7 Nov 2021 17:15:48 +0000 Subject: [PATCH] Release v3.2.1.2 --- nodcms-core/Validation/Rules.php | 20 -------------------- nodcms-installer/Controllers/Installer.php | 2 +- public/.htaccess | 3 ++- 3 files changed, 3 insertions(+), 22 deletions(-) diff --git a/nodcms-core/Validation/Rules.php b/nodcms-core/Validation/Rules.php index 0545f77..a75f6c6 100644 --- a/nodcms-core/Validation/Rules.php +++ b/nodcms-core/Validation/Rules.php @@ -10,26 +10,6 @@ * */ -/** - * NodCMS - * - * Copyright (c) 2020. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - * - * @author Mojtaba Khodakhah - * @copyright 2016-2020 Mojtaba Khodakhah - * @license https://opensource.org/licenses/MIT MIT License - * @link https://nodcms.com - * @since Version 3.2.0 - * @filesource - * - */ - namespace NodCMS\Core\Validation; use Config\Services; diff --git a/nodcms-installer/Controllers/Installer.php b/nodcms-installer/Controllers/Installer.php index 0c101e8..647ed55 100644 --- a/nodcms-installer/Controllers/Installer.php +++ b/nodcms-installer/Controllers/Installer.php @@ -23,7 +23,7 @@ class Installer extends Base { public $product_name = "NodCMS"; - public $product_version = "3.2.0"; + public $product_version = "3.2.1"; private $required_php_version = '7.3.0'; private $required_extensions = array('mysqli'); public $php_version_valid; diff --git a/public/.htaccess b/public/.htaccess index 02026a3..f3b0953 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -18,7 +18,8 @@ Options All -Indexes # Redirect Trailing Slashes... RewriteCond %{REQUEST_FILENAME} !-d - RewriteRule ^(.*)/$ /$1 [L,R=301] + RewriteCond %{REQUEST_URI} (.+)/$ + RewriteRule ^ %1 [L,R=301] # Rewrite "www.example.com -> example.com" RewriteCond %{HTTPS} !=on