Project

General

Profile

Actions

Bug #17705

closed

typoscript template.relPathPrefix causes decoding of html-entities in affected attributes

Added by Martin Ficzel over 16 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2007-10-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

if the relPathPrefix is used in cObject TEMPLATE all html entities in affected attributes are decoded.

The reason is the method t3lib_parsehtml::prefixResourcePath() wich is calling t3lib_parsehtml::get_tag_attributes() with second parameter 1 wich enables the decoding of html-specialchars.

I included a patch to change this behavior. Regards Martin

(issue imported from #M6555)


Files

patch_t3lib_parsehtml.txt (812 Bytes) patch_t3lib_parsehtml.txt Administrator Admin, 2007-10-19 14:15
Actions #1

Updated by Martin Ficzel over 16 years ago

I'm not shure weather this patch has side effects. Maybe a core developer who knows the parsehtml class well can answer this. I doubt that the current behavior is intended because without relPathPrefix the template Method will leave all entities untouched.

Actions #2

Updated by Benni Mack almost 14 years ago

committed v2 to trunk (rev. 7649).

Actions #3

Updated by Susanne Moog about 13 years ago

  • Target version deleted (4.4.0)
Actions

Also available in: Atom PDF