Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 564 Bytes

2021-09-03-fixed-csrf-error-and-language-switch-error-on-404-pages.md

File metadata and controls

8 lines (8 loc) · 564 Bytes
title issue
Fixed csrf error and language switch error on 404 pages
NEXT-16632

Storefront

  • Changed method CsrfPlaceholderHandler::replaceCsrfToken to replace csrf tokens also on responses with status code 404
  • Changed method StorefrontController::createActionResponse to fallback to redirect to frontend.home.page if no redirectTo and no forwardTo parameter is set.
  • Changed method ContextController::switchLanguage for route /checkout/language to redirect to frontend.home.page the redirectTo parameter is set to an empty string.