api-platform / api-platform/core
[Security] Return an object instead of an array in collections
Offen
- Vorherrschende Sprache
- PHP
- Sterne
- 2.6k
- Forks
- 980
- Ø Merge
- 2 T. 5 Std.
- Gemergte PRs (30 T.)
- 48
Beschreibung
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.