api-platform / api-platform/core
[Security] Return an object instead of an array in collections
Aperta
- Lingua principale
- PHP
- Stelle
- 2.6k
- Fork
- 980
- Merge medio
- 2g 5h
- PR unite (30g)
- 48
Descrizione
Hi everyone,
what do you think about adding the option to return an object instead of an array in collections? I think it's a good practice in terms of security (see [OWASP](https://www.owasp.org/index.php/AJAX_Security_Cheat_Sheet#Always_return_JSON_with_an_Object_on_the_outside)).
Regards
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.