Skip to content

Commit

Permalink
Merge pull request #51 from Zillion01/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Zillion01 authored Jul 2, 2023
2 parents 07af2a5 + 403604f commit 5fa7c1b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions Classes/Controller/QuestionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ private function isBot(): bool
{
$userAgent = $_SERVER['HTTP_USER_AGENT'];
$bots = $this->settings['bots'];
$bots = explode(',', $bots);

foreach ($bots as $bot) {
if (stripos($userAgent, htmlspecialchars($bot)) !== false) return true;
Expand Down
4 changes: 4 additions & 0 deletions Documentation/ChangeLog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

ChangeLog
=========
12.4.2
"""""
#. Small bugfix in isBot function

12.4.1
"""""
#. Prevent well known bots to click on helpfullness actions
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[general]
project = Frequently Asked Questions
release = 12.4.1
release = 12.4.2
version = 12.4
copyright = 2023

Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ conf.py:
copyright: 2023
project: jpFAQ
version: 12.4
release: 12.4.1
release: 12.4.2
intersphinx_mapping:
t3tsref:
- http://docs.typo3.org/typo3cms/TyposcriptReference/
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
'author' => 'Jacco van der Post',
'author_email' => '[email protected]',
'state' => 'stable',
'version' => '12.4.1',
'version' => '12.4.2',
'constraints' =>
[
'depends' =>
Expand Down

0 comments on commit 5fa7c1b

Please sign in to comment.