Odieresis [Gmail] wrote:

>I want to add Google Analytics to Mailman templates to track visits.
>When I try to save /General Informations Page/ template with the code 
>from Analytics it changes the code.
>
>I paste this in:
>
>    * <script src="http://www.google-analytics.com/urchin.js";
>      type="text/javascript">
>      </script>
>      <script type="text/javascript">
>      _uacct = "UA-000000-0";
>      urchinTracker();
>      </script>
>
>It saves this:
>
>    * &lt;script src="http://www.google-analytics.com/urchin.js";
>      type="text/javascript"&gt;
>      &lt;/script&gt;
>      &lt;script type="text/javascript"&gt;
>      _uacct = "UA-000000-0";
>      urchinTracker();
>      &lt;/script&gt;


We do not allow adding <script> and other potentially evil html via the
web interface in order to prevent potential cross site scripting (XSS)
attacks.

If you want to put such HTML in a template, you have to create an
edited template directly on the server via shell, ftp, etc. See
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.048.htp>.

-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to