Skip to content

Commit 3ec588b

Browse files
authoredMar 22, 2022
Fix some relative links (#1900)
1 parent 09f67f2 commit 3ec588b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/guide/formats.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ addFormats(ajv)
3030

3131
See [ajv-formats](https://github.com/ajv-validator/ajv-formats) documentation for further details.
3232

33-
It is recommended NOT to use "format" keyword implementations with untrusted data, as they may use potentially unsafe regular expressions (even though known issues are fixed) - see [ReDoS attack](./security.md#redos-attack).
33+
It is recommended NOT to use "format" keyword implementations with untrusted data, as they may use potentially unsafe regular expressions (even though known issues are fixed) - see [ReDoS attack](../security.md#redos-attack).
3434

3535
::: danger Format validation of untrusted data
3636
If you need to use "format" keyword to validate untrusted data, you MUST assess their suitability and safety for your validation scenarios.
@@ -61,7 +61,7 @@ JSON Schema draft-07 also defines formats `iri`, `iri-reference`, `idn-hostname`
6161

6262
## User-defined formats
6363

64-
You can add and replace any formats using [addFormat](./api.md#api-addformat) method:
64+
You can add and replace any formats using [addFormat](../api.md#ajv-addformat-name-string-format-format-ajv) method:
6565

6666
```javascript
6767
ajv.addFormat("identifier", /^a-z\$_[a-zA-Z$_0-9]*$/)

0 commit comments

Comments
 (0)
Please sign in to comment.