Skip to content

Commit 4447f1d

Browse files
committed
Back-porting change from 2.3 (should have been patched into 2.2 originally)
[symfony#2710] Fixing whitespace (cherry picked from commit f8ace43)
1 parent e9d2df6 commit 4447f1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/http_foundation/introduction.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,9 +506,9 @@ to ``application/json``.
506506
as the outer-most array to ``JsonResponse`` and not an indexed array so
507507
that the final result is an object (e.g. ``{"object": "not inside an array"}``)
508508
instead of an array (e.g. ``[{"object": "inside an array"}]``). Read
509-
the `OWASP guidelines`_ for more information.
510-
511-
Only methods that respond to GET requests are vulnerable to XSSI 'JSON Hijacking'.
509+
the `OWASP guidelines`_ for more information.
510+
511+
Only methods that respond to GET requests are vulnerable to XSSI 'JSON Hijacking'.
512512
Methods responding to POST requests only remain unaffected.
513513

514514
JSONP Callback

0 commit comments

Comments
 (0)