~ubuntu-branches/ubuntu/karmic/awstats/karmic

« back to all changes in this revision

Viewing changes to wwwroot/js/awstats_misc_tracker.js

  • Committer: Bazaar Package Importer
  • Author(s): Nico Golde
  • Date: 2008-12-10 13:05:43 UTC
  • mfrom: (7.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20081210130543-2sh59pphufllknju
Tags: 6.7.dfsg-5.1
* Non-maintainer upload by the Security Team.
* Strip '"' characters during URL decoding, fixing a cross-site
  scripting attack (CVE-2008-3714; CVE-2008-5080; Closes: #495432).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
// You can add this file onto some of your web pages (main home page can
4
4
// be enough) by adding the following HTML code to your page body:
5
5
//
6
 
// <script language="javascript" type="text/javascript" src="/js/awstats_misc_tracker.js"></script>
7
 
// <noscript><img src="/js/awstats_misc_tracker.js?nojs=y" height="0" width="0" border="0" style="display: none"></noscript>
 
6
// <script type="text/javascript" src="/js/awstats_misc_tracker.js"></script>
 
7
// <noscript><p><img src="/js/awstats_misc_tracker.js?nojs=y" alt="" height="0" width="0" style="display: none" /></p></noscript>
 
8
 
8
9
//
9
10
// * This must be added after the <body> tag, not placed within the
10
11
//   <head> tags, or the resulting tracking <img> tag will not be handled
119
120
                TRKsvg = awstats_detectIE("Adobe.SVGCtl");
120
121
                TRKfla = awstats_detectIE("ShockwaveFlash.ShockwaveFlash.1");
121
122
                TRKrp  = awstats_detectIE("rmocx.RealPlayer G2 Control.1");
122
 
                TRKmov = awstats_detectIE("QuickTimeCheckObject.QuickTimeCheck.1");
123
 
                TRKwma = awstats_detectIE("MediaPlayer.MediaPlayer.1");
 
123
                TRKmov = awstats_detectIE("Quicktime.Quicktime");
 
124
                TRKwma = awstats_detectIE("wmplayer.ocx");
124
125
                TRKpdf = 'n'; TRKpdfver='';
125
126
        if (awstats_detectIE("PDF.PdfCtrl.1") == 'y') { TRKpdf = 'y'; TRKpdfver='4'; } // Acrobat 4
126
127
            if (awstats_detectIE('PDF.PdfCtrl.5') == 'y') { TRKpdf = 'y'; TRKpdfver='5'; } // Acrobat 5