Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
ee250d95
Commit
ee250d95
authored
Jan 31, 2018
by
Carsten Rose
Browse files
manual merge
parent
37a53fea
Changes
2
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/Constants.php
View file @
ee250d95
...
...
@@ -146,8 +146,6 @@ const ERROR_UNKNOWN_FORWARD_MODE = 1036;
const
ERROR_MISSING_HIDDEN_FIELD_IN_SIP
=
1038
;
const
ERROR_MISSING_MIN_MAX
=
1040
;
// unused
const
ERROR_MIN_MAX_VIOLATION
=
1041
;
// unused
const
ERROR_UNKNOWN_CHECKTYPE
=
1042
;
const
ERROR_PATTERN_VIOLATION
=
1043
;
const
ERROR_RECORDID_0_FORBIDDEN
=
1044
;
...
...
extension/qfq/qfq/helper/Sanitize.php
View file @
ee250d95
...
...
@@ -63,8 +63,9 @@ class Sanitize {
}
// Pattern check
if
(
$pattern
===
''
||
preg_match
(
"/
$pattern
/"
,
$value
)
===
1
)
if
(
$pattern
===
''
||
preg_match
(
"/
$pattern
/"
,
$value
)
===
1
)
{
return
$value
;
}
// check failed
if
(
$mode
===
SANITIZE_EXCEPTION
)
{
...
...
Write
Preview
Markdown
is supported
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