Bug#691099: iceweasel: resolves symlinks for local files and breaks relative links

Dominik George nik at naturalnet.de
Sun Oct 21 14:01:23 UTC 2012


Package: iceweasel
Version: 16.0.1-1, 15.0.1-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When opening local URLs and the file is a symbolic link, iceweasel resolves
them to their target before opening. This breaks relative links in the document
and also deviates from the behaviour when using symbolic links on a webserver

Example directory tree:

/tmp/foo
|- index.html -> /tmp/bar/index.html
|- test.gif
/tmp/bar
|- index.html

Opening file:///tmp/foo/index.html will resolve to file:///tmp/bar/index.html, making
/tmp/bar the base for all relative links, breaking any <img src="test.gif" /> or similar.

Wasn't resolving symlinks the operating system's task?

- -- Package-specific info:

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

Name: Deutsch (DE) Language Pack locale
Location: /usr/lib/iceweasel/extensions/langpack-de at iceweasel.mozilla.org.xpi
Package: iceweasel-l10n-de
Status: enabled

- -- Plugins information

- -- Addons package information
ii  iceweasel      16.0.1-1     amd64        Web browser based on Firefox
ii  iceweasel-l10n 1:16.0.1-1   all          German language package for Icewe

- -- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages iceweasel depends on:
ii  debianutils         4.3.2
ii  fontconfig          2.9.0-7
ii  libc6               2.13-35
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-0        2.32.3-1
ii  libgtk2.0-0         2.24.10-2
ii  libnspr4            2:4.9.2-1
ii  libnspr4-0d         2:4.9.2-1
ii  libsqlite3-0        3.7.13-1
ii  libstdc++6          4.7.2-2
ii  procps              1:3.3.3-2
ii  xulrunner-16.0      16.0.1-1

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
ii  fonts-stix [otf-stix]  1.1.0-1
ii  libgssapi-krb5-2       1.10.1+dfsg-2
pn  mozplugger             <none>

Versions of packages xulrunner-16.0 depends on:
ii  libasound2                1.0.25-4
ii  libatk1.0-0               2.4.0-2
ii  libbz2-1.0                1.0.6-4
ii  libc6                     2.13-35
ii  libcairo2                 1.12.2-2
ii  libdbus-1-3               1.6.0-1
ii  libdbus-glib-1-2          0.100-1
ii  libevent-2.0-5            2.0.19-stable-3
ii  libfontconfig1            2.9.0-7
ii  libfreetype6              2.4.9-1
ii  libgcc1                   1:4.7.2-2
ii  libgdk-pixbuf2.0-0        2.26.1-1
ii  libglib2.0-0              2.32.3-1
ii  libgtk2.0-0               2.24.10-2
ii  libhunspell-1.3-0         1.3.2-4
ii  libjpeg8                  8d-1
ii  libmozjs16d               16.0.1-1
ii  libnotify4                0.7.5-1
ii  libnspr4                  2:4.9.2-1
ii  libnspr4-0d               2:4.9.2-1
ii  libnss3                   2:3.13.6-1
ii  libnss3-1d                2:3.13.6-1
ii  libpango1.0-0             1.30.0-1
ii  libpixman-1-0             0.26.0-3
ii  libsqlite3-0              3.7.13-1
ii  libstartup-notification0  0.12-1
ii  libstdc++6                4.7.2-2
ii  libvpx1                   1.1.0-1
ii  libx11-6                  2:1.5.0-1
ii  libxext6                  2:1.3.1-2
ii  libxrender1               1:0.9.7-1
ii  libxt6                    1:1.1.3-1
ii  zlib1g                    1:1.2.7.dfsg-13

Versions of packages xulrunner-16.0 suggests:
ii  libcanberra0  0.28-4
ii  libgnomeui-0  2.24.5-2

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQHOBAEBAgA4BQJQhAAxMRpodHRwczovL3d3dy5kb21pbmlrLWdlb3JnZS5kZS9n
cGctcG9saWN5LnR4dC5hc2MACgkQ2w6kvOIQdBJxXwv+Kz0EzlboLj241pn5ojZJ
R+4YBnKLY0I75948Hk0vHbsG/lS3gqHKNVPoFYqMREaP9mpGznYhjU71KWvEPVAE
LlmQ3pE+TrpkGei/AbiUEJEywlP/xwW4O3PHHgfnnYTUHAzgZxVpRqxwLNk4qPw3
HAZi8b7eKvfKbaFyyCJSLbQdMspeeWCtHnZ3VowkaJYxXw7PLxdVYxfZOfvnof15
XK0LBlrtzK8uNYNiBDWCRwoMrThCTGhrie/5j6eHAJ6ocS8qVoT6a0EUq95/EjJr
urDOt/dmo/HcqASluBFUFHKryRyyq1rsbLxnRy+xCl5xExP6UYSqr+K8cl4AInXh
veL52es28+6YuYTXo7aldPp7rZYOo+tEOXQwQJl9izpITz1VTC1SO0Fn7GYZO48E
Bp65PEK2tdiF8ypSlUsyAlaR05zRpceHF3301udKkXFRgKMveVCx2KiYOI+jOqxN
tqzsu0x2mU+NNlcf7lR+mS/kz0w1uK2lw5dvpdMoTqSp
=A3O+
-----END PGP SIGNATURE-----



More information about the pkg-mozilla-maintainers mailing list