Project

General

Profile

Development #7805

Add helpers to implement JSON/JSONP views with CORS support

Added by Benjamin Dauvergne about 4 years ago. Updated over 1 year ago.

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

100%

Patch proposed:
No
Planning:
No

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 about 4 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 about 4 years ago

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

History

#1 Updated by Benjamin Dauvergne about 4 years ago

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

#2 Updated by Benjamin Dauvergne over 3 years ago

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

#3 Updated by Benjamin Dauvergne over 1 year ago

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

Also available in: Atom PDF