Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
6dc06a17
Commit
6dc06a17
authored
Jul 14, 2022
by
Dominik Hebeler
Browse files
fixed ua
parent
f6b9ffa4
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
metager/app/Http/Middleware/Spam.php
View file @
6dc06a17
...
...
@@ -37,6 +37,7 @@ class Spam
if
(
$spam
===
true
)
{
$browser
=
new
Agent
();
$browser
->
setUserAgent
(
$_SERVER
[
"AGENT"
]);
if
(
$browser
===
"Chrome"
&&
$browser
->
version
(
$browser
)
===
"91.0.4472.77"
)
{
$this
->
logFail2Ban
(
$request
->
ip
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment