Project

General

Profile

Development #7805

Add helpers to implement JSON/JSONP views with CORS support

Added by Benjamin Dauvergne over 5 years ago. Updated about 3 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
Start date:
08 Jul 2015
Due date:
% Done:

100%

Estimated time:
Patch proposed:
No
Planning:

Description

Cross origin requests should be validated, using the Origin header for CORS request and the Referer for <script> loading of JSONP endpoints.

Associated revisions

Revision fdbb3eb8 (diff)
Added by Benjamin Dauvergne over 5 years ago

add support for CORS request by JSON or JSONP (fixes #7805)

JSONP is checked against the Referer header and JSON against the Origin
header.

Revision a5a58a15 (diff)
Added by Benjamin Dauvergne over 5 years ago

manager: use new json decorator on menu_json (#7805)

History

#1

Updated by Benjamin Dauvergne over 5 years ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100
#2

Updated by Benjamin Dauvergne about 5 years ago

  • Status changed from Résolu (à déployer) to Solution déployée
#3

Updated by Benjamin Dauvergne about 3 years ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF