Issue Bug Closed

#21603Typo3 html content element frontend rewrites

oliver leitner 11/18/09, 16:00 updated 06/25/10, 14:33

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[<br />TryCookie('mymon_form_log_1');<br />var form_url = 'http://somedomain/?u=customer&t=1&js=1&a=view&r=' + GetCookie('mymon_form_log_1');<br />document.write('<img src=\'' + form_url + '\' width=1 height=1 border=0 alt=\'\'class=noborder>&#8216;); <br />//]]&gt;</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[<br />TryCookie('mymon_form_log_1');<br />var form_url = 'http://somedomain/?u=customer&t=1&js=1&a=view&r=' + GetCookie('mymon_form_log_1');<br />document.write('<img src="\" form_url="" width="1" height="1" border="0" alt="\" class="noborder" />&#8216;); <br />//]]&gt;</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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.