Bug#802766: kde-runtime: kde-open should open the original URL, not the one it was redirected to
Package: kde-runtime
Version: 4:4.14.2-2
Severity: normal
Dear Maintainer,
To reproduce this problem run:
kde-open "https://www.codeweavers.com/support/bugs/browse/?cmd=bug_edit;bug_id=13370"
* Access to this specific page requires being logged into that website which
KDE is not.
* As a result kde-open gets redirected to the general browse page:
https://www.codeweavers.com/support/bugs/browse/
* kde-open then notices this is an HTML page and thus invokes iceweasel.
* But it invokes it on the redirected URL, not on the original one.
* So iceweasel opens with the wrong page despite having access to the original
URL.
kde-open should not make assumptions about redirections and should always pass
the original URL to the browser.
Note that I reported this bug to KDE for kde-open5 which has the same issue:
https://bugs.kde.org/show_bug.cgi?id=354246
But kde-open is in a separate Debian package (kde-runtime instead of
kde-cli-tools) and it's unclear to me whether it will stay around or be
replaced (Also Debian Stable users might be interested in a fix). Finally I was
unable to test version 4:15.08.2-1 due to the current upgrade breakage in
Debian Testing.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages kde-runtime depends on:
ii kde-runtime-data 4:15.08.1-1
ii kdelibs5-plugins 4:4.14.2-5
ii libasound2 1.0.29-1
ii libattica0.4 0.4.2-2
ii libc6 2.19-22
ii libcanberra0 0.30-2.1
ii libexiv2-13 0.24-4.1
ii libgcc1 1:5.1.1-14
ii libgcrypt20 1.6.3-2
ii libgpgme++2 4:4.14.2-2+b1
ii libgpgme11 1.6.0-1
ii libjpeg62-turbo 1:1.4.1-2
ii libkactivities6 4:4.13.3-1
ii libkcmutils4 4:4.14.2-5
ii libkdeclarative5 4:4.14.2-5
ii libkdecore5 4:4.14.2-5
ii libkdesu5 4:4.14.2-5
ii libkdeui5 4:4.14.2-5
ii libkdewebkit5 4:4.14.2-5
ii libkdnssd4 4:4.14.2-5
ii libkemoticons4 4:4.14.2-5
ii libkfile4 4:4.14.2-5
ii libkhtml5 4:4.14.2-5
ii libkio5 4:4.14.2-5
ii libkmediaplayer4 4:4.14.2-5
ii libknewstuff3-4 4:4.14.2-5
ii libknotifyconfig4 4:4.14.2-5
ii libkparts4 4:4.14.2-5
ii libkpty4 4:4.14.2-5
ii libkxmlrpcclient4 4:4.14.2-2+b1
ii libntrack-qt4-1 016-1.3
ii libopenexr6 1.6.1-8
ii libphonon4 4:4.8.3-2
ii libplasma3 4:4.14.2-5
ii libpulse-mainloop-glib0 7.0-1
ii libpulse0 7.0-1
ii libqt4-dbus 4:4.8.7+dfsg-1
ii libqt4-declarative 4:4.8.7+dfsg-1
ii libqt4-network 4:4.8.7+dfsg-1
ii libqt4-script 4:4.8.7+dfsg-1
ii libqt4-svg 4:4.8.7+dfsg-1
ii libqt4-xml 4:4.8.7+dfsg-1
ii libqtcore4 4:4.8.7+dfsg-1
ii libqtgui4 4:4.8.7+dfsg-1
ii libqtwebkit4 2.3.4.dfsg-3
ii libsmbclient 2:4.1.17+dfsg-4
ii libsolid4 4:4.14.2-5
ii libssh-gcrypt-4 0.6.3-4.1
ii libstdc++6 5.1.1-14
ii libwebp5 0.4.3-1.3
ii libx11-6 2:1.6.3-1
ii libxcursor1 1:1.1.14-1+b1
ii oxygen-icon-theme 4:4.14.0-1
ii perl 5.20.2-6
ii phonon 4:4.8.3-2
ii plasma-scriptengine-javascript 4:4.14.2-2
kde-runtime recommends no packages.
Versions of packages kde-runtime suggests:
ii djvulibre-bin 3.5.27.1-3
ii finger 0.17-15
ii icoutils 0.31.0-2
ii libcanberra-pulse 0.30-2.1
ii sound-theme-freedesktop 0.8-1
-- no debconf information
Reply to: