Task #54777

Epic #55070: Workpackages

Epic #55065: WP: Overall System Performance (Backend and Frontend)

Story #55078: Optimize PHP code performance in TYPO3 methods

Use PHP native htmlspecialchars_decode()

Added by Michiel Roos almost 6 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Performance
Target version:
Start date:
2014-01-06
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

Instead of Generalutility::htmlspecialchars_decode(), use the plain PHP version.

Instead of four calls to str_replace on a value, htmlspecialchars_decode() will be called just once.

Associated revisions

Revision 0e3c49f4 (diff)
Added by Łukasz Jurys over 5 years ago

[BUGFIX] Use PHP native htmlspecialchars_decode()

Method Generalutility::htmlspecialchars_decode()
was replaced by htmlspecialchars_decode().
Also Generalutility::htmlspecialchars_decode()
has been marked as deprecated

Resolves: #54777
Releases: 6.2
Change-Id: Idc9b12d8a1dc2746ee0f742c37c640118c9f69c3
Reviewed-on: https://review.typo3.org/27473
Reviewed-by: Oliver Klee
Reviewed-by: Karol Lamparski
Reviewed-by: Marcin Sągol
Tested-by: Marcin Sągol
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring

History

#1 Updated by Ingo Schmitt over 5 years ago

  • Parent task set to #55078

#2 Updated by Gerrit Code Review over 5 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 https://review.typo3.org/27454

#3 Updated by Gerrit Code Review over 5 years ago

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/27458

#4 Updated by Gerrit Code Review over 5 years ago

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/27472

#5 Updated by Gerrit Code Review over 5 years ago

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/27473

#6 Updated by Gerrit Code Review over 5 years ago

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

#7 Updated by Anja Leichsenring over 5 years ago

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

#8 Updated by Riccardo De Contardi almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF