Bug #21603
closedTypo3 html content element frontend rewrites
0%
Description
When i insert the following content via html content element into the page:
<script src='http://somedomain/mymon_form_log.js' type='text/javascript'></script>
<script type='text/javascript'>//<![CDATA[
TryCookie('mymon_form_log_1');
var form_url = 'http://somedomain/?u=customer&t=1&js=1&a=view&r=' + GetCookie('mymon_form_log_1');
document.write('<img src=\'' + form_url + '\' width=1 height=1 border=0 alt=\'\'class=noborder>');
//]]></script>
<noscript><div><img src='http://somedomain/?u=customer&amp;t=1&amp;a=view&amp;r=0&amp;js=0' width='1' height='1' alt='' class='checkeffect_img' /></div></noscript>
it is being rewritten to this:
<script src="http://somedomain/mymon_form_log.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
TryCookie('mymon_form_log_1');
var form_url = 'http://somedomain/?u=customer&t=1&js=1&a=view&r=' + GetCookie('mymon_form_log_1');
document.write('<img src="\" form_url="" width="1" height="1" border="0" alt="\" class="noborder" />');
//]]></script>
<noscript><div><img src="http://somedomain/?u=customer&amp;t=1&amp;a=view&amp;r=0&amp;js=0" width="1" height="1" alt="" class="checkeffect_img" /></div></noscript>
1. create a content element of type html
2. post that "thing" into the content element.
3. go into frontend and view the page with the inserted content.
1a. create a typoscript html element
2a. insert the code as value into that element
3a. go into frontend and view the marker with the inserted code
(issue imported from #M12655)
Updated by oliver leitner almost 15 years ago
"fixed"
xhtml_cleaning had it...
with xhtml_cleaning disabled it doesnt get rewritten.
Updated by Chris topher over 14 years ago
Closed as requested, no change required.