Project

General

Profile

Actions

Bug #66344

closed

Some exceptions contain HTML code

Added by Mathias Brodala about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Code Cleanup
Target version:
Start date:
2015-04-10
Due date:
% Done:

100%

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

Description

There are currently 4 exceptions in the core whose messages contain HTML code:

  • RuntimeException in TYPO3\CMS\Backend\Controller\LoginController::checkRedirect
  • RuntimeException in TYPO3\CMS\Backend\Tree\View\AbstractTreeView::getTree
  • RuntimeExceptoin in TYPO3\CMS\Core\Authentication\AbstractUserAuthentication::checkAuthentication
  • ExtensionManagerException in TYPO3\CMS\Extensionmanager\Utility\Connection\TerUtility::fetchExtension

Since exceptions are independent from a specific context, this HTML code should be removed.

Actions #1

Updated by Mathias Brodala about 9 years ago

The exceptions where found with this RegExp search pattern: new .+Exception\(["'].*?< (false-positives need to be skipped)

Actions #2

Updated by Gerrit Code Review about 9 years ago

  • Status changed from New 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 http://review.typo3.org/38609

Actions #3

Updated by Anja Leichsenring about 9 years ago

  • Sprint Focus set to Stabilization Sprint
Actions #4

Updated by Mathias Brodala about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 50 to 100
Actions #5

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF