From 1f15a51f16bd4df758a44bd46e1606255b1ad7b3 Mon Sep 17 00:00:00 2001 From: anibalsanchez Date: Sat, 22 Aug 2020 14:49:00 +0200 Subject: [PATCH 1/2] feat(languages): Release of v2.3.0 including multiple languages --- jedchecker.xml | 129 +++++++++++++++++++++++++++++++++++++------------ manifest.xml | 6 +-- 2 files changed, 100 insertions(+), 35 deletions(-) diff --git a/jedchecker.xml b/jedchecker.xml index 832442e..78b4d5b 100644 --- a/jedchecker.xml +++ b/jedchecker.xml @@ -1,35 +1,100 @@ - COM_JEDCHECKER - Joomla! Extensions Directory - 2020-07-02 - Copyright (C) 2017 - 2020 Open Source Matters, Inc. All rights reserved. - extensions@extensions.joomla.org - https://github.com/joomla-extensions/jedchecker - 2.1.3 - http://www.gnu.org/copyleft/gpl.html GNU/GPL - - - script.php - - COM_JEDCHECKER - - access.xml - config.xml - controller.php - controllers - jedchecker.php - language - libraries - models - views - - - - css - - - - https://raw.githubusercontent.com/joomla-extensions/jedchecker/master/manifest.xml - + COM_JEDCHECKER + Joomla! Extensions Directory + 2020-08-22 + Copyright (C) 2017 - 2020 Open Source Matters, Inc. All rights reserved. + extensions@extensions.joomla.org + https://github.com/joomla-extensions/jedchecker + 2.3.0 + http://www.gnu.org/copyleft/gpl.html GNU/GPL + + + script.php + + COM_JEDCHECKER + + access.xml + config.xml + controller.php + controllers + jedchecker.php + language + libraries + models + views + + + + af-ZA/af-ZA.com_jedchecker.ini + af-ZA/af-ZA.com_jedchecker.sys.ini + ar-SA/ar-SA.com_jedchecker.ini + ar-SA/ar-SA.com_jedchecker.sys.ini + ca-ES/ca-ES.com_jedchecker.ini + ca-ES/ca-ES.com_jedchecker.sys.ini + cs-CZ/cs-CZ.com_jedchecker.ini + cs-CZ/cs-CZ.com_jedchecker.sys.ini + da-DK/da-DK.com_jedchecker.ini + da-DK/da-DK.com_jedchecker.sys.ini + de-DE/de-DE.com_jedchecker.ini + de-DE/de-DE.com_jedchecker.sys.ini + el-GR/el-GR.com_jedchecker.ini + el-GR/el-GR.com_jedchecker.sys.ini + en-GB/en-GB.com_jedchecker.ini + en-GB/en-GB.com_jedchecker.sys.ini + en-US/en-US.com_jedchecker.ini + en-US/en-US.com_jedchecker.sys.ini + es-ES/es-ES.com_jedchecker.ini + es-ES/es-ES.com_jedchecker.sys.ini + fi-FI/fi-FI.com_jedchecker.ini + fi-FI/fi-FI.com_jedchecker.sys.ini + fr-FR/fr-FR.com_jedchecker.ini + fr-FR/fr-FR.com_jedchecker.sys.ini + he-IL/he-IL.com_jedchecker.ini + he-IL/he-IL.com_jedchecker.sys.ini + hu-HU/hu-HU.com_jedchecker.ini + hu-HU/hu-HU.com_jedchecker.sys.ini + it-IT/it-IT.com_jedchecker.ini + it-IT/it-IT.com_jedchecker.sys.ini + ja-JP/ja-JP.com_jedchecker.ini + ja-JP/ja-JP.com_jedchecker.sys.ini + ko-KR/ko-KR.com_jedchecker.ini + ko-KR/ko-KR.com_jedchecker.sys.ini + nl-BE/nl-BE.com_jedchecker.ini + nl-BE/nl-BE.com_jedchecker.sys.ini + nl-NL/nl-NL.com_jedchecker.ini + nl-NL/nl-NL.com_jedchecker.sys.ini + no-NO/no-NO.com_jedchecker.ini + no-NO/no-NO.com_jedchecker.sys.ini + pl-PL/pl-PL.com_jedchecker.ini + pl-PL/pl-PL.com_jedchecker.sys.ini + pt-BR/pt-BR.com_jedchecker.ini + pt-BR/pt-BR.com_jedchecker.sys.ini + pt-PT/pt-PT.com_jedchecker.ini + pt-PT/pt-PT.com_jedchecker.sys.ini + ro-RO/ro-RO.com_jedchecker.ini + ro-RO/ro-RO.com_jedchecker.sys.ini + ru-RU/ru-RU.com_jedchecker.ini + ru-RU/ru-RU.com_jedchecker.sys.ini + sv-SE/sv-SE.com_jedchecker.ini + sv-SE/sv-SE.com_jedchecker.sys.ini + tr-TR/tr-TR.com_jedchecker.ini + tr-TR/tr-TR.com_jedchecker.sys.ini + uk-UA/uk-UA.com_jedchecker.ini + uk-UA/uk-UA.com_jedchecker.sys.ini + vi-VN/vi-VN.com_jedchecker.ini + vi-VN/vi-VN.com_jedchecker.sys.ini + zh-CN/zh-CN.com_jedchecker.ini + zh-CN/zh-CN.com_jedchecker.sys.ini + zh-TW/zh-TW.com_jedchecker.ini + zh-TW/zh-TW.com_jedchecker.sys.ini + + + + css + + + + https://raw.githubusercontent.com/joomla-extensions/jedchecker/master/manifest.xml + diff --git a/manifest.xml b/manifest.xml index e75aa3a..87768c8 100644 --- a/manifest.xml +++ b/manifest.xml @@ -5,11 +5,11 @@ com_jedchecker component - 2.1.3 + 2.3.0 site - https://github.com/joomla-extensions/jedchecker/releases/tag/2.1.3 + https://github.com/joomla-extensions/jedchecker/releases/tag/2.3.0 - https://github.com/joomla-extensions/jedchecker/archive/2.1.3.zip + https://github.com/joomla-extensions/jedchecker/archive/2.3.0.zip From b7c1d87817e84136aa24babb4a06e901aede5d22 Mon Sep 17 00:00:00 2001 From: SharkyKZ Date: Thu, 3 Sep 2020 11:41:52 +0300 Subject: [PATCH 2/2] Support exit in entry point check --- .../com_jedchecker/libraries/rules/jexec.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/administrator/components/com_jedchecker/libraries/rules/jexec.php b/administrator/components/com_jedchecker/libraries/rules/jexec.php index 18a6019..06125a6 100644 --- a/administrator/components/com_jedchecker/libraries/rules/jexec.php +++ b/administrator/components/com_jedchecker/libraries/rules/jexec.php @@ -112,10 +112,16 @@ class JedcheckerRulesJexec extends JEDcheckerRule // "or" may not be present depending on syntax $pos_3 = stripos($line, 'die'); - // Skip the line if "die" is not found + // Check for "exit" if ($pos_3 === false) { - continue; + $pos_3 = stripos($line, 'exit'); + + // Skip the line if "die" or "exit" is not found + if ($pos_3 === false) + { + continue; + } } // Search for the constant name