Skip to content

Commit

Permalink
Backport 'Add note about the unescaped contents of the GraphQL API' t…
Browse files Browse the repository at this point in the history
…o v0.27 (decidim#12510)

Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
  • Loading branch information
alecslupu and andreslucena committed Feb 22, 2024
1 parent 9ea9e1a commit 49f285a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions decidim-api/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Typically (although some particular installations may change that) you will find

The GraphQL format is a JSON formatted text that is specified in a query. Response is a JSON object as well. For details about specification check the official [GraphQL site](https://graphql.org/learn/).

Exercise caution when utilizing the output of this API, as it may include HTML that has not been escaped. Take particular care in handling this data, specially if you intend to render it on a webpage.

For instance, you can check the version of a Decidim installation by using `curl` in the terminal:

```
Expand Down

0 comments on commit 49f285a

Please sign in to comment.