Skip to content

Commit aecc706

Browse files
authored
Fix link to addFormat docs
1 parent 490eb8c commit aecc706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/security.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ If you use Ajv to validate data from untrusted sources **it is strongly recommen
9393

9494
- making assessment of "format" implementations in [ajv-formats](https://github.com/ajv-validator/ajv-formats).
9595
- 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.
9797
- disabling format validation by ignoring "format" keyword with option `format: false`
9898

9999
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

Comments
 (0)