BigPipe cannot handle (GET) form redirects (EnforcedResponseException)
1 unresolved thread
Closes #3304746
Merge request reports
Activity
added 1628 commits
-
de4698e3...d246c433 - 1627 commits from branch
project:11.x
- 00fcdb56 - Merge from 11.x
-
de4698e3...d246c433 - 1627 commits from branch
added 105 commits
-
a1a3e725...c1708b32 - 102 commits from branch
project:11.x
- f04f2f85 - WIP
- 10b0d6dc - Merge branch '11.x' into 3304746-big-pipe-cannot
- a1a6e55f - Big pipe redirect test update
Toggle commit list-
a1a3e725...c1708b32 - 102 commits from branch
553 556 $cumulative_assets->setAlreadyLoadedLibraries(explode(',', $ajax_response->getAttachments()['drupalSettings']['ajaxPageState']['libraries'])); 554 557 } 555 558 } 559 // Handle enforced redirect responses. 560 // A typical use case where this might happen are forms using GET as 561 // #method that are build inside a lazy builder. 562 catch (EnforcedResponseException $e) { 563 $response = $e->getResponse(); 564 if (!$response instanceof RedirectResponse) { 565 throw $e; 566 } 567 568 $ajax_response = new AjaxResponse(); 569 $ajax_response->addCommand(new RedirectCommand($response->getTargetUrl())); changed this line in version 7 of the diff
added 2 commits
Please register or sign in to reply