Bug#630819: Iceweasel fails to open a file URI when the link has been obtained from a remote server.

peasthope at shaw.ca peasthope at shaw.ca
Fri Jun 17 17:26:30 UTC 2011


Package: iceweasel
Version: 3.5.16-7
Severity: minor

*** Please type your report below this line ***
After /etc/iceweasel/pref/iceweasel.js is adjusted according to instructions 
in http://kb.mozillazine.org/Security_Policies, a file URI still fails to open 
when the link has been obtained from a remote Web server.  Of course, there is 
no problem using a local link to open a local file.  Add-on 
https://addons.mozilla.org/firefox/addon/281 confers the ability to open the file 
URI.  Iceweasel appears to be ignoring the adjustments in /etc/...iceweasel.js.

At least one other bug involves /etc/iceweasel/pref/iceweasel.js; #425961. 

Regards,               ... Peter E.

-- Package-specific info:

-- Extensions information
Name: Default
Location: /usr/lib/iceweasel/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
Package: iceweasel
Status: enabled

Name: LocalLink
Location: ${PROFILE_EXTENSIONS}/{15756614-ffb8-498b-b961-bce537ea94fe}
Status: enabled

-- Plugins information
Name: Shockwave Flash
Location: /usr/lib/flashplayer-mozilla/libflashplayer.so
Package: flashplayer-mozilla
Status: enabled


-- Addons package information
ii  flashplayer-mo 2:10.3.181.26- Macromedia Flash Player.
ii  iceweasel      3.5.16-7       Web browser based on Firefox

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

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages iceweasel depends on:
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  fontconfig                    2.8.0-2.1  generic font configuration library
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.5-8  GCC support library
ii  libglib2.0-0                  2.24.2-1   The GLib library of C routines
ii  libgtk2.0-0                   2.20.1-2   The GTK+ graphical user interface 
ii  libnspr4-0d                   4.8.6-1    NetScape Portable Runtime Library
ii  libstdc++6                    4.4.5-8    The GNU Standard C++ Library v3
ii  procps                        1:3.2.8-9  /proc file system utilities
ii  xulrunner-1.9.1               1.9.1.16-7 XUL + XPCOM application runner

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
ii  libgssapi-krb5-2            1.8.3+dfsg-4 MIT Kerberos runtime libraries - k
pn  mozplugger                  <none>       (no description available)
pn  ttf-lyx | latex-xft-fonts   <none>       (no description available)
pn  ttf-mathematica4.1          <none>       (no description available)
pn  xfonts-mathml               <none>       (no description available)
pn  xprint                      <none>       (no description available)

Versions of packages xulrunner-1.9.1 depends on:
ii  libasound2             1.0.23-2.1        shared library for ALSA applicatio
ii  libatk1.0-0            1.30.0-1          The ATK accessibility toolkit
ii  libbz2-1.0             1.0.5-6           high-quality block-sorting file co
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libcairo2              1.8.10-6          The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.2.24-4          simple interprocess messaging syst
ii  libfontconfig1         2.8.0-2.1         generic font configuration library
ii  libfreetype6           2.4.2-2.1         FreeType 2 font engine, shared lib
ii  libgcc1                1:4.4.5-8         GCC support library
ii  libglib2.0-0           2.24.2-1          The GLib library of C routines
ii  libgtk2.0-0            2.20.1-2          The GTK+ graphical user interface 
ii  libhunspell-1.2-0      1.2.11-1          spell checker and morphological an
ii  libjpeg62              6b1-1             The Independent JPEG Group's JPEG 
ii  libmozjs2d             1.9.1.16-7        The Mozilla SpiderMonkey JavaScrip
ii  libnspr4-0d            4.8.6-1           NetScape Portable Runtime Library
ii  libnss3-1d             3.12.8-1+squeeze1 Network Security Service libraries
ii  libpango1.0-0          1.28.3-1+squeeze2 Layout and rendering of internatio
ii  libpng12-0             1.2.44-1          PNG library - runtime
ii  libreadline6           6.1-3             GNU readline and history libraries
ii  libsqlite3-0           3.7.3-1           SQLite 3 shared library
ii  libstartup-notificatio 0.10-1            library for program launch feedbac
ii  libstdc++6             4.4.5-8           The GNU Standard C++ Library v3
ii  libx11-6               2:1.3.3-4         X11 client-side library
ii  libxrender1            1:0.9.6-1         X Rendering Extension client libra
ii  libxt6                 1:1.0.7-1         X11 toolkit intrinsics library
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

-- Configuration Files:
/etc/iceweasel/pref/iceweasel.js changed:
// This is the Debian specific preferences file for Iceweasel
// You can make any change in here, it is the purpose of this file.
// You can, with this file and all files present in the
// /etc/iceweasel/pref directory, override any preference that is
// present in /usr/lib/iceweasel/defaults/preferences directory.
// While your changes will be kept on upgrade if you modify files in
// /etc/iceweasel/pref, please note that they won't be kept if you
// do make your changes in /usr/lib/iceweasel/defaults/preferences.
//
// Note that lockPref is allowed in these preferences files if you
// don't want users to be able to override some preferences.
pref("extensions.update.enabled", true);
// Use LANG environment variable to choose locale
pref("intl.locale.matchOS", true);
// Disable default browser checking.
pref("browser.shell.checkDefaultBrowser", false);
// Allow my file URI to be opened.
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
// The link is obtained from http://members.shaw.ca/peasthope/#Links. 
// The target file on the localhost, 142.103.107.137.
user_pref("capability.policy.localfilelinks.sites", "http://members.shaw.ca/" "file://142.103.107.137/" );

-- no debconf information

-- 
Telephone 1 360 450 2132.  bcc: peasthope at shaw.ca
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .






More information about the pkg-mozilla-maintainers mailing list