api-platform / api-platform/core
[Security] Return an object instead of an array in collections
Ouverte
- Langage dominant
- PHP
- Étoiles
- 2.6k
- Forks
- 980
- Merge moyen
- 2 j 5 h
- PR mergées (30 j)
- 48
Description
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
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.