Project

General

Profile

Actions

Bug #45274

closed

Content element type HTML breaks when <textarea> is in the field

Added by Vincent Mans almost 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
Start date:
2013-02-08
Due date:
% Done:

0%

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

Description

I was making a quick mock-up of a form, using the content element "HTML".

When I use <textarea></textarea> in that HTML content element, everything after <textarea> gets cut off. And appears as rendered HTML below the field.

The cause of the error seems obvious to me, since the HTML content element is a <textarea> by itself. But I don't know how to solve it.

(only tested in Chrome, by the way)

Actions #1

Updated by Georg Ringer almost 12 years ago

  • Project changed from TYPO3 Core to 1716
Actions #2

Updated by Steffen Gebert almost 12 years ago

That was already covered in an issue, but rejected as a security issue, as everybody who's able to use the HTML element can enter JS code and thus exploit other BE editors.

Nevertheless, this should be finally fixed - regardless of handled as security issue or as normal bug.

Actions #3

Updated by Oliver Hader almost 12 years ago

Correct...

Actions #4

Updated by Helmut Hummel almost 11 years ago

  • Project changed from 1716 to TYPO3 Core

Probably already fixed in released branches, no need for private workflow anyway (only admins can exploit this)

Actions #5

Updated by Mathias Schreiber almost 10 years ago

  • Target version set to 7.4 (Backend)
  • Is Regression set to No
Actions #6

Updated by Riccardo De Contardi over 9 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Vincent Mans

this is the test I've done in TYPO3 6.2.12:

1) create a content element, plain HTML type:

<p>I AM BEFORE</p>
<textarea></textarea>
<p>I AM AFTER</p>

2) In the frontent, the content element is rendered exaclty with the same markup:

<p>I AM BEFORE</p>
<textarea></textarea>
<p>I AM AFTER</p>

Can you tell us if it is the intended behavior? In this case I'll close the issue . Thank you.
Actions #7

Updated by Alexander Opitz over 9 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF