Package: privoxy
Version: 3.0.9-1
Severity: important

When I visit http://www.bmo.com/home through Privoxy, it mangles
the file http://www.bmo.com/scripts/bmo_common.js so that the Web site no
longer works.

The file itself is rather large, but here's a unified diff:

--- GOOD-bmo_common.js  2010-03-23 08:25:41.000000000 -0400
+++ BAD-bmo_common.js   2010-03-24 14:48:11.000000000 -0400
@@ -220,9 +220,9 @@
        var menu = "";  
                
        // Create Menu
-       menu += '<a href="javascript:setDefaultFontSize(\'small\');" 
title="Small"><img id="small_textIcon" src="'+baseFileURL()+'images/smText_' + 
((currentFontSize == "small") ? "on" : "off") + '.gif" alt="Small Text" 
class="textSizeIcon"></a>';
-       menu += '<a href="javascript:setDefaultFontSize(\'medium\');" 
title="Medium"><img id="medium_textIcon" src="'+baseFileURL()+'images/medText_' 
+ ((currentFontSize == "medium") ? "on" : "off") + '.gif" alt="Medium Text" 
class="textSizeIcon"></a>';
-       menu += '<a href="javascript:setDefaultFontSize(\'large\');" 
title="Large"><img id="large_textIcon" src="'+baseFileURL()+'images/bgText_' + 
((currentFontSize == "large") ? "on" : "off") + '.gif" alt="Large Text" 
class="textSizeIcon"></a>'; 
+       menu += '<a href="javascript:setDefaultFontSize(\'small\');" 
title="Small"><img src="'+baseFileURL()+'images/smText_' + ((currentFontSize == 
" id="small_textIcon"small") ? "on" : "off") + '.gif" alt="Small Text" 
class="textSizeIcon"></a>';
+       menu += '<a href="javascript:setDefaultFontSize(\'medium\');" 
title="Medium"><img src="'+baseFileURL()+'images/medText_' + ((currentFontSize 
== " id="medium_textIcon"medium") ? "on" : "off") + '.gif" alt="Medium Text" 
class="textSizeIcon"></a>';
+       menu += '<a href="javascript:setDefaultFontSize(\'large\');" 
title="Large"><img src="'+baseFileURL()+'images/bgText_' + ((currentFontSize == 
" id="large_textIcon"large") ? "on" : "off") + '.gif" alt="Large Text" 
class="textSizeIcon"></a>'; 
 
        // Output Menu to Screen
        document.getElementById('fontSizeMenu').innerHTML = menu;

See how it's mangling the lines?

I am using the default privoxy configuration as installed by Debian; I have
made no changes.

Regards,

David.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages privoxy depends on:
ii  adduser                3.110             add and remove users and groups
ii  libc6                  2.7-18lenny2      GNU C Library: Shared libraries
ii  libpcre3               7.6-2.1           Perl 5 Compatible Regular Expressi
ii  logrotate              3.7.1-5           Log rotation utility
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages privoxy recommends:
ii  doc-base                      0.8.20     utilities to manage online documen

privoxy suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to