Project

General

Profile

Actions

Bug #79398

closed

DebuggerUtility displays partial HTML escape sequences due to line wrapping

Added by Markus Klein over 7 years ago. Updated over 5 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 #1

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51369

Actions #2

Updated by Gerrit Code Review over 7 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51435

Actions #3

Updated by Markus Klein over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF