mirror of
https://github.com/joomla-extensions/jedchecker.git
synced 2024-06-05 15:00:47 +00:00
Makes sure that the use encoding with base64 is still treated as an error, for manual investigation.
This commit is contained in:
parent
f8a540662f
commit
4b9769022b
|
@ -7,4 +7,4 @@
|
|||
; @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
|
||||
; The valid constants to search for
|
||||
encodings ="base64_decode,base64_encode,zlib_decode,zlib_encode"
|
||||
encodings ="base64,base64_decode,base64_encode,zlib_decode,zlib_encode"
|
||||
|
|
|
@ -113,7 +113,7 @@ class JedcheckerRulesEncoding extends JEDcheckerRule
|
|||
if (preg_match($this->encodingsRegex, $line))
|
||||
{
|
||||
$found = true;
|
||||
$this->report->addWarning($file, JText::_('COM_JEDCHECKER_ERROR_ENCODING'), $i + 1, $line);
|
||||
$this->report->addError($file, JText::_('COM_JEDCHECKER_ERROR_ENCODING'), $i + 1, $line);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user