original_string: protected function redirectToJumpUrl($jumpUrl)
      {
          $this->validateIfJumpUrlRedirectIsAllowed($jumpUrl);
  
          $pageTSconfig = $this->getTypoScriptFrontendController()->getPagesTSconfig();
          if (is_array($pageTSconfig['TSFE.'])) {
              $pageTSconfig = $pageTSconfig['TSFE.'];
          } else {
              $pageTSconfig = [];
          }
  
          // Allow sections in links
          $jumpUrl = str_replace('%23', '#', $jumpUrl);
  
          $jumpUrl = $this->addParametersToTransferSession($jumpUrl, $pageTSconfig);
          $statusCode = $this->getRedirectStatusCode($pageTSconfig);
          $this->redirect($jumpUrl, $statusCode);
      }
code: protected function redirectToJumpUrl($jumpUrl)
      {
          $this->validateIfJumpUrlRedirectIsAllowed($jumpUrl);
  
          $pageTSconfig = $this->getTypoScriptFrontendController()->getPagesTSconfig();
          if (is_array($pageTSconfig['TSFE.'])) {
              $pageTSconfig = $pageTSconfig['TSFE.'];
          } else {
              $pageTSconfig = [];
          }
  
          // Allow sections in links
          $jumpUrl = str_replace('%23', '#', $jumpUrl);
  
          $jumpUrl = $this->addParametersToTransferSession($jumpUrl, $pageTSconfig);
          $statusCode = $this->getRedirectStatusCode($pageTSconfig);
          $this->redirect($jumpUrl, $statusCode);
      }
code_tokens: protected function redirectToJumpUrl ( $ jumpUrl ) { $ this -> validateIfJumpUrlRedirectIsAllowed ( $ jumpUrl ) ; $ pageTSconfig = $ this -> getTypoScriptFrontendController ( ) -> getPagesTSconfig ( ) ; if ( is_array ( $ pageTSconfig [ 'TSFE.' ] ) ) { $ pageTSconfig = $ pageTSconfig [ 'TSFE.' ] ; } else { $ pageTSconfig = [ ] ; } // Allow sections in links $ jumpUrl = str_replace ( '%23' , '#' , $ jumpUrl ) ; $ jumpUrl = $ this -> addParametersToTransferSession ( $ jumpUrl , $ pageTSconfig ) ; $ statusCode = $ this -> getRedirectStatusCode ( $ pageTSconfig ) ; $ this -> redirect ( $ jumpUrl , $ statusCode ) ; }
docstring: Redirects the user to the given jump URL if all submitted values
  are valid
  
  @param string $jumpUrl The URL to which the user should be redirected
  @throws \Exception
docstring_tokens: Redirects the user to the given jump URL if all submitted values are valid