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
6073c97c
Commit
6073c97c
authored
May 04, 2017
by
Carsten Rose
Browse files
Sanatize.php: Add 'ç' to 'alnumx'
parent
f3fbe835
Changes
2
Hide whitespace changes
Inline
Side-by-side
extension/Documentation/Manual.rst
View file @
6073c97c
...
...
@@ -8,6 +8,7 @@
.. ,,
..
.. --------------------------------------------------
.. Best Practice T3 reST https://docs.typo3.org/typo3cms/drafts/github/xperseguers/RstPrimer/
.. External Links: `Bootstrap <http://getbootstrap.com/>`_:
.. Add Images: https://wiki.typo3.org/ReST_Syntax#Images
..
...
...
@@ -537,7 +538,7 @@ Sanitize class
+------------------+------+-------+-----------------------------------------------------------------------------------------+
| Name | Form | Query | Pattern |
+==================+======+=======+=========================================================================================+
| **alnumx** | Form | Query | [A-Za-z][0-9]@-_.,;: /() ÀÈÌÒÙàèìòùÁÉÍÓÚÝáéíóúýÂÊÎÔÛâêîôûÃÑÕãñõÄËÏÖÜŸäëïöüÿ
|
| **alnumx** | Form | Query | [A-Za-z][0-9]@-_.,;: /() ÀÈÌÒÙàèìòùÁÉÍÓÚÝáéíóúýÂÊÎÔÛâêîôûÃÑÕãñõÄËÏÖÜŸäëïöüÿ
ç
|
+------------------+------+-------+-----------------------------------------------------------------------------------------+
| **digit** | Form | Query | [0-9] |
+------------------+------+-------+-----------------------------------------------------------------------------------------+
...
...
extension/qfq/qfq/helper/Sanitize.php
View file @
6073c97c
...
...
@@ -138,7 +138,7 @@ class Sanitize {
public
static
function
inputCheckPatternArray
()
{
//EMail Regex: http://www.regular-expressions.info/email.html
return
[
SANITIZE_ALLOW_ALNUMX
=>
'^[@\-_\.,;: \/\(\)a-zA-Z0-9ÀÈÌÒÙàèìòùÁÉÍÓÚÝáéíóúýÂÊÎÔÛâêîôûÃÑÕãñõÄËÏÖÜŸäëïöüÿ]*$'
,
// ':alnum:' does not work here in FF
SANITIZE_ALLOW_ALNUMX
=>
'^[@\-_\.,;: \/\(\)a-zA-Z0-9ÀÈÌÒÙàèìòùÁÉÍÓÚÝáéíóúýÂÊÎÔÛâêîôûÃÑÕãñõÄËÏÖÜŸäëïöüÿ
ç
]*$'
,
// ':alnum:' does not work here in FF
SANITIZE_ALLOW_DIGIT
=>
'^[\d]*$'
,
SANITIZE_ALLOW_NUMERICAL
=>
'^[\d.+-]*$'
,
SANITIZE_ALLOW_EMAIL
=>
'^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$'
,
...
...
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