-
- Downloads
Issue #2753681 by tedbow, Wim Leers, dawehner, neclimdul, catch: Move CSRF...
Issue #2753681 by tedbow, Wim Leers, dawehner, neclimdul, catch: Move CSRF header token out of REST module so that user module can use it, as well as any contrib module
parent
3f56402e
Branches
Tags
Showing
- core/core.services.yml 5 additions, 0 deletionscore/core.services.yml
- core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php 31 additions, 7 deletionscore/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php
- core/modules/rest/rest.routing.yml 4 additions, 1 deletioncore/modules/rest/rest.routing.yml
- core/modules/rest/rest.services.yml 2 additions, 4 deletionscore/modules/rest/rest.services.yml
- core/modules/rest/src/RequestHandler.php 0 additions, 10 deletionscore/modules/rest/src/RequestHandler.php
- core/modules/rest/src/Routing/ResourceRoutes.php 1 addition, 1 deletioncore/modules/rest/src/Routing/ResourceRoutes.php
- core/modules/rest/src/Tests/CsrfTest.php 4 additions, 0 deletionscore/modules/rest/src/Tests/CsrfTest.php
- core/modules/rest/src/Tests/RESTTestBase.php 1 addition, 1 deletioncore/modules/rest/src/Tests/RESTTestBase.php
- core/modules/system/src/Controller/CsrfTokenController.php 52 additions, 0 deletionscore/modules/system/src/Controller/CsrfTokenController.php
- core/modules/system/system.routing.yml 7 additions, 0 deletionscore/modules/system/system.routing.yml
- core/modules/system/tests/modules/csrf_test/csrf_test.info.yml 6 additions, 0 deletions...modules/system/tests/modules/csrf_test/csrf_test.info.yml
- core/modules/system/tests/modules/csrf_test/csrf_test.routing.yml 27 additions, 0 deletions...ules/system/tests/modules/csrf_test/csrf_test.routing.yml
- core/modules/system/tests/modules/csrf_test/src/Controller/DeprecatedCsrfTokenController.php 57 additions, 0 deletions...srf_test/src/Controller/DeprecatedCsrfTokenController.php
- core/modules/system/tests/modules/csrf_test/src/Controller/TestController.php 22 additions, 0 deletions...tests/modules/csrf_test/src/Controller/TestController.php
- core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php 83 additions, 0 deletions...les/system/tests/src/Functional/CsrfRequestHeaderTest.php
Please register or sign in to comment