diff options
author | Stefan Giehl <stefan@piwik.org> | 2018-05-03 23:17:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-03 23:17:45 +0300 |
commit | 28d5fc9e7ba20d0b4ba7b7fe2fe81940c2243423 (patch) | |
tree | f2fd8db98b3b427999d7f3b114c3ca79a51065e8 /lang | |
parent | c58689c672d4f10d62664ec38351549f0e5e80e3 (diff) |
Validate goal pattern and type in API (#12788)
* Validate goal pattern and type
* allow empty pattern type
* Use validator classes to validate API params
* tweak error message
Diffstat (limited to 'lang')
-rw-r--r-- | lang/en.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/en.json b/lang/en.json index 7343ce84c0..601cb56f3b 100644 --- a/lang/en.json +++ b/lang/en.json @@ -451,6 +451,7 @@ "ValidatorErrorCharacterTooLong": "The value contains \"%1$s\" characters but should contain at most %2$s characters.", "ValidatorErrorNotUrlLike": "The value \"%s\" does not look like a URL.", "ValidatorErrorNotEmailLike": "The value \"%s\" does not look like a valid email.", + "ValidatorErrorNoValidRegex": "The value \"%s\" is not a valid regular expression.", "ValidatorErrorXNotWhitelisted": "The value \"%1$s\" is not allowed, use one of: %2$s.", "ValidatorErrorInvalidDateTimeFormat": "The date \"%1$s\" does not have the correct format, please use %2$s", "WarningFileIntegrityNoManifest": "File integrity check could not be performed due to missing manifest.inc.php.", |