Development #7805
Add helpers to implement JSON/JSONP views with CORS support
Début:
08 juillet 2015
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Non
Planning:
Description
Cross origin requests should be validated, using the Origin header for CORS request and the Referer for <script> loading of JSONP endpoints.
Révisions associées
manager: use new json decorator on menu_json (#7805)
Historique
Mis à jour par Benjamin Dauvergne il y a presque 9 ans
- Statut changé de Nouveau à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit authentic2|fdbb3eb878f8b16ea14552cdfcb7b10fed2ddc34.
Mis à jour par Benjamin Dauvergne il y a environ 8 ans
- Statut changé de Résolu (à déployer) à Solution déployée
Mis à jour par Benjamin Dauvergne il y a plus de 6 ans
- Statut changé de Solution déployée à Fermé
add support for CORS request by JSON or JSONP (fixes #7805)
JSONP is checked against the Referer header and JSON against the Origin
header.