You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/security.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ If you use Ajv to validate data from untrusted sources **it is strongly recommen
93
93
94
94
- making assessment of "format" implementations in [ajv-formats](https://github.com/ajv-validator/ajv-formats).
95
95
- passing `"fast"` option to ajv-formats plugin (see its docs) that simplifies some of the regular expressions (although it does not guarantee that they are safe).
96
-
- replacing format implementations provided by ajv-formats with your own implementations of "format" keyword that either use different regular expressions or another approach to format validation. Please see [addFormat](#api-addformat) method.
96
+
- replacing format implementations provided by ajv-formats with your own implementations of "format" keyword that either use different regular expressions or another approach to format validation. Please see [addFormat](https://github.com/ajv-validator/ajv/blob/master/docs/api.md#api-addformat) method.
97
97
- disabling format validation by ignoring "format" keyword with option `format: false`
98
98
99
99
Whatever mitigation you choose, please assume all formats provided by ajv-formats as potentially unsafe and make your own assessment of their suitability for your validation scenarios.
0 commit comments