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
typo3
qfq
Commits
c8c72d5d
Commit
c8c72d5d
authored
May 05, 2019
by
Carsten Rose
Browse files
Config.php: more precise error message
parent
3923af69
Pipeline
#1832
passed with stage
in 2 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Source/core/store/Config.php
View file @
c8c72d5d
...
...
@@ -241,7 +241,7 @@ class Config {
$len
=
strlen
(
$value
);
if
(
$len
>
$maxLength
)
{
$attack
=
true
;
$reason
.
=
"
Get
variable '
$key
' too long. Allowed:
$maxLength
, Length:
$len
-
"
.
htmlentities
(
$_GET
[
$key
])
.
PHP_EOL
;
$reason
.
=
"
Value of GET
variable '
$key
' too long. Allowed:
$maxLength
, Length:
$len
. Value: '
"
.
htmlentities
(
$_GET
[
$key
])
.
"'"
.
PHP_EOL
;
}
}
}
...
...
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