From db94b118d41fbc81c3d7ab605b94c4d15dc89af8 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin Date: Fri, 19 Jul 2019 06:39:20 +0100 Subject: [PATCH] docs: regexp considerations addition --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1dc099d..d645c3f 100644 --- a/README.md +++ b/README.md @@ -682,7 +682,7 @@ __Please note__: some formats that Ajv implements use [regular expressions](http - making assessment of "format" implementations in Ajv. - using `format: 'fast'` option that simplifies some of the regular expressions (although it does not guarantee that they are safe). -- replacing format implementations provided by Ajv with your own implementations of "format" keyword that either uses different regular expressions or another approach to format validation. +- replacing format implementations provided by Ajv with your own implementations of "format" keyword that either uses different regular expressions or another approach to format validation. Please see [addFormat](#api-addformat) method. - disabling format validation by ignoring "format" keyword with option `format: false` Whatever mitigation you choose, please assume all formats provided by Ajv as potentially unsafe and make your own assessment of their suitability for your validation scenarios.