Project

General

Profile

Actions

Bug #79398

closed

DebuggerUtility displays partial HTML escape sequences due to line wrapping

Added by Markus Klein almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Start date:
2017-01-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

Example output:

array(4 items)
   caller => 'TYPO3\CMS\Core\Database\DatabaseConnection::exec_SELECTquery' (60 chars)
   ERROR => 'You have an error in your SQL syntax; check the manual that corresponds to y
      our MariaDB server version for the right syntax to use near ') AND sys_categ
      ory.deleted=0 AND sys_category.t3ver_state<=0 AND sys_category.pi' at lin
      e 1' (228 chars)
   lastBuiltQuery => 'SELECT COUNT(*) FROM sys_category WHERE sys_category.uid IN () AND sys_cate
      gory.deleted=0 AND sys_category.t3ver_state<=0 AND sys_category.pid<&g
      t;-1 AND sys_category.hidden=0 AND sys_category.starttime<=1484817120 AND
       (sys_category.endtime=0 OR sys_category.endtime>1484817120)' (276 chars)
   debug_backtrace => '{closure}#34 // TYPO3\CMS\Frontend\Http\Application->run#33 // TYPO3\CMS\
      Core\Core\Bootstrap->handleRequest#78 // TYPO3\CMS\Frontend\Http\RequestH
      andler->handleRequest#302 // TYPO3\CMS\Frontend\Page\PageGenerator::rende
      rContent#216 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->c
      ObjGet#210 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->cOb
      jGetSingle#805 // TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer->
      ;render#859 // TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject-&
      gt;render#943 // TYPO3\CMS\Frontend\ContentObject\FluidTemplateContentObject
      ->renderFluidView#102 // TYPO3\CMS\Fluid\View\AbstractTemplateView->re
      nder#300 // FluidCache_Standalone_template_file_Subpage_e4b94899c9e2b3c85960
      6b8365de5d5fdbd344bc->render#193 // TYPO3\CMS\Fluid\Core\ViewHelper\Abstr
      actViewHelper->initializeArgumentsAndRender#628 // TYPO3\CMS\Fluid\Core\V
      iewHelper\AbstractViewHelper->callRenderMethod#249 // call_user_func_arra
      y#268 // TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper->render# // TYPO3\
      CMS\Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle#119 // TY
      PO3\CMS\Frontend\ContentObject\ContentObjectRenderer->render#859 // TYPO3
      \CMS\Frontend\ContentObject\ContentContentObject->render#943 // TYPO3\CMS
      \Frontend\ContentObject\ContentObjectRenderer->cObjGetSingle#97 // TYPO3\
      CMS\Frontend\ContentObject\ContentObjectRenderer->render#859 // TYPO3\CMS
      \Frontend\ContentObject\CaseContentObject->render#943 // TYPO3\CMS\Fronte
      nd\ContentObject\ContentObjectRenderer->cObjGetSingle#44 // TYPO3\CMS\Fro
      ntend\ContentObject\ContentObjectRenderer->cObjGetSingle#841 // TYPO3\CMS
      \Frontend\ContentObject\ContentObjectRenderer->render#859 // TYPO3\CMS\Fr
      ontend\ContentObject\FluidTemplateContentObject->render#943 // TYPO3\CMS\
      Frontend\ContentObject\FluidTemplateContentObject->renderFluidView#102 //
       TYPO3\CMS\Fluid\View\AbstractTemplateView->render#300 // FluidCache_Stan
      dalone_layout_HeaderContentFooter_21082436d3a86117bf434057723f183ec7394a31-&
      gt;render#189 // TYPO3\CMS...' (4267 chars)

Mind the lines ending with & and the subsequent line starting with gt;

The problem is that escaping happens before line wrapping.

Actions

Also available in: Atom PDF