Bug#908730: kmail: Query string stripped from hyperlinks in kmail
Dne pátek 14. září 2018 9:25:41 CEST jste napsal(a): > Vladislav Kurz wrote: > > Since upgrading to debian 9, I have a problem with emails form our > > helpdesk system. Links have query string with ticket id, or even action to > > do (take, resolve,...), but the query string is ignored. It seems that > > kmail is stripping it, perhaps as some sort of security feature. It would > > be nice to have them back, at least for whitelisted websites. I was not > > able to find any setting that would allow that. > > I don't think it's kmail that is stripping this (it works just fine for me > in stretch), but rather a setting for how to determine in what application > the URL should be opened. > > What do you have in > > K → System settings → Applications → Default Applications → Web Browser > > I suspect that you have that set to "in an application based on the contents > of the URL". That setting has kmail (or rather underlying libraries) fetch > the resource (or at least the HEAD) and then picks your browser for HTML, > okular for a PDF, gwenview for a JPG etc. Yes it was set as above. > The sequence is (roughly): > > * kmail asks www server for resource or metadata about the resource (I > assume it's a HEAD request, I've not checked) > > * in doing this look-up, various http redirects are followed > > * when kmail's libraries look at your helpdesk URL you are not authenticated > (even though you might be in your browser) > > * the helpdesk server helpfully redirects you to a login form > > * the login form is HTML > > * HTML is for a www browser so your browser is opened pointing to the > current URL which is a login form > > (I can replicate what you see with password protected resources where no > query string is involved, just a redirect to a login form) After I submitted the bug report I have noticed that the query string was not stripped for bugs.debian.org (which does not need any login) > Changing the aforementioned setting to "in the following browser" may be > sufficient. Yes, it has fixed the problem. Thank you very much for this hint. However I think that, even if it is not a bug in kmail, it should be made clear to users, that the default setting will cause problems on sites that need authentication. Or that when the browser is opened, it shall go to the link I have clicked and not on any redirects that kmail has found out by himself. I'm not sure how other apps behave in such case, if the behavior is specific to kmail, or provided by some common KDE library routine. In that case this bug should be reassigned appropriately. Cheers Vladki
Bug#908730: kmail: Query string stripped from hyperlinks in kmail
Package: kmail Version: 4:16.04.3-4~deb9u1 Severity: normal Dear Maintainer, Since upgrading to debian 9, I have a problem with emails form our helpdesk system. Links have query string with ticket id, or even action to do (take, resolve,...), but the query string is ignored. It seems that kmail is stripping it, perhaps as some sort of security feature. It would be nice to have them back, at least for whitelisted websites. I was not able to find any setting that would allow that. * What led up to the situation? upgrade from debian 8 to 9 * What exactly did you do (or not do) that was effective (or ineffective)? click on hyperlink (in email message) with query string e.g.: https://helpdesk.example.net/rt/Ticket/Display.html?id=12345 * What was the outcome of this action? Browser (firefox) opens with main page of request tracker: https://helpdesk.example.net/rt/ * What outcome did you expect instead? Browser should open the requested ticket #12345 Best Regards Vladislav Kurz -- System Information: Debian Release: 9.5 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores) Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages kmail depends on: ii akonadi-server 4:16.04.3-4 ii kdepim-runtime 4:16.04.2-2+b2 ii kdepimlibs-data 4:16.04.2-2 ii kf5-kdepimlibs-kio-plugins 4:16.04.2-2 ii kio 5.28.0-2 ii libc62.24-11+deb9u3 ii libgcc1 1:6.3.0-18+deb9u1 ii libkf5akonadiagentbase5 4:16.04.3-4 ii libkf5akonadicalendar5 16.04.2-2 ii libkf5akonadicontact54:16.04.2-2 ii libkf5akonadicore5 4:16.04.3-4 ii libkf5akonadimime5 4:16.04.2-2 ii libkf5akonadisearch-plugins 16.04.3-1+b2 ii libkf5akonadisearchdebug516.04.3-1+b2 ii libkf5akonadiwidgets54:16.04.3-4 ii libkf5alarmcalendar5 16.04.2-2 ii libkf5archive5 5.28.0-2 ii libkf5bookmarks5 5.28.0-1 ii libkf5calendarcore5 4:16.04.2-1 ii libkf5calendarsupport5 4:16.04.2-2 ii libkf5calendarutils5 16.04.3-1 ii libkf5codecs55.28.0-1+b2 ii libkf5completion55.28.0-1 ii libkf5configcore55.28.0-2 ii libkf5configgui5 5.28.0-2 ii libkf5configwidgets5 5.28.0-2 ii libkf5contacts5 16.04.2-1 ii libkf5coreaddons55.28.0-2 ii libkf5crash5 5.28.0-1 ii libkf5dbusaddons55.28.0-1 ii libkf5followupreminder5 4:16.04.2-2 ii libkf5gpgmepp-pthread5 16.04.3-2+b2 ii libkf5gravatar5 4:16.04.2-2 ii libkf5guiaddons5 5.28.0-1 ii libkf5i18n5 5.28.0-2 ii libkf5iconthemes55.28.0-2 ii libkf5identitymanagement516.04.2-1 ii libkf5incidenceeditor-bin16.04.2-2+b2 ii libkf5incidenceeditor5 16.04.2-2+b2 ii libkf5itemmodels55.28.0-2 ii libkf5itemviews5 5.28.0-1 ii libkf5jobwidgets55.28.0-2 ii libkf5kcmutils5 5.28.0-2 ii libkf5kdelibs4support5 5.28.0-1 ii libkf5kiocore5 5.28.0-2 ii libkf5kiofilewidgets55.28.0-2 ii libkf5kiowidgets55.28.0-2 ii libkf5kmanagesieve5 4:16.04.3-2+b2 ii libkf5kontactinterface5 16.04.2-1 ii libkf5ksieveui5 4:16.04.3-2+b2 ii libkf5libkdepim-plugins 4:16.04.2-3 ii libkf5libkdepim5 4:16.04.2-3 ii libkf5libkleo5 4:16.04.2-1 ii libkf5mailcommon-plugins 4:16.04.2-2 ii libkf5mailcommon54:16.04.2-2 ii libkf5mailimporter5 4:16.04.2-2 ii libkf5mailtransport5 16.04.2-3 ii libkf5messagecomposer5 4:16.04.3-3~deb9u1 ii libkf5messagecore5 4:16.04.3-3~deb9u1 ii libkf5messagelist5 4:16.04.3-3~deb9u1 ii libkf5messageviewer5 4:16.04.3-3~deb9u1 ii libkf5mime5 16.04.2-1 ii libkf5notifications5 5.28.0-1 ii libkf5notifyconfig5 5.28.0-1 ii libkf5parts5 5.28.0-1 ii libkf5pimcommon-plugins 4:16.04.2-2 ii libkf5pimcommon5 4:16.04.2-2 ii libkf5pimtextedit5 16.04.2-1 ii libkf5sendlater5 4:16.04.2-2 ii libkf5service-bin5.28.0-1 ii libkf5service5 5.28.0-1 ii libkf5sonnetui5 5.28.0-2 ii libkf5templateparser54:16.04.3-3~deb9u1 ii libkf5textwidgets5 5.28.0-1 ii libkf5wallet-bin 5.28.0-3 ii libkf5wallet55.28.0-3 ii libkf5widgetsaddons5 5.28.0-3 ii libkf5windowsystem5 5.28.0-2 ii libkf5xmlgui55.28.0-1 ii libqt5core5a 5.7.1+dfsg-3+b1 ii l
Bug#611067: kmail: crash on attachment with preview
Package: kmail Version: 4:4.4.7-3 Severity: normal Hello, Kmail crashes in the following scenario: Compose new mail and attach a file. In file dialog for attachments, enable "Aside preview". Then browse through files. In my case it's enough to point on a file (without click). If they are plain text, or pictures, preview shows normally. If they are pdf, odt, zip, whole kmail crashes (Segfault). Sometimes I see the "KDE crash handler" sometimes not. It seems like it crashes on files which it cannot preview by itself and needs some external application. This behavior is the same if i run kmail alone or within kontact. Regards Vladislav Kurz -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686-bigmem (SMP w/8 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages kmail depends on: ii kdebase-runtime 4:4.4.5-1runtime components from the offici ii kdepim-runtime 4:4.4.7-1Runtime components for akonadi-kde ii kdepimlibs-kio-plug 4:4.4.5-2kio slaves used by KDE PIM applica ii libakonadi-contact4 4:4.4.5-2library for using the Akonadi PIM ii libakonadi-kde4 4:4.4.5-2library for using the Akonadi PIM ii libc6 2.11.2-9 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-8GCC support library ii libgpgme++2 4:4.4.5-2c++ wrapper library for gpgme ii libkabc44:4.4.5-2library for handling address book ii libkcal44:4.4.5-2library for handling calendar data ii libkde3support4 4:4.4.5-2the KDE 3 Support Library for the ii libkdecore5 4:4.4.5-2the KDE Platform Core Library ii libkdepim4 4:4.4.7-3KDE PIM library ii libkdeui5 4:4.4.5-2the KDE Platform User Interface Li ii libkhtml5 4:4.4.5-2the KHTML Web Content Rendering En ii libkimap4 4:4.4.5-2library for handling IMAP data ii libkio5 4:4.4.5-2the Network-enabled File Managemen ii libkldap4 4:4.4.5-2library for accessing LDAP ii libkleo44:4.4.7-3certificate based crypto library ii libkmime4 4:4.4.5-2library for handling MIME data ii libknotifyconfig4 4:4.4.5-2library for configuring KDE Notifi ii libkontactinterface 4:4.4.5-2Kontact interface library ii libkparts4 4:4.4.5-2the Framework for the KDE Platform ii libkpgp44:4.4.7-3gpg based crypto library ii libkpimidentities4 4:4.4.5-2library for managing user identiti ii libkpimtextedit44:4.4.5-2library that provides a textedit w ii libkpimutils4 4:4.4.5-2library for dealing with email add ii libkresources4 4:4.4.5-2the KDE Resource framework library ii libksieve4 4:4.4.7-3mail/news message filtering librar ii libktnef4 4:4.4.5-2library for handling TNEF data ii libkutils4 4:4.4.5-2various utility classes for the KD ii libmailtransport4 4:4.4.5-2mail transport service library ii libmessagecore4 4:4.4.7-3message core library ii libmessagelist4 4:4.4.7-3message list library ii libmimelib4 4:4.4.7-3MIME library ii libnepomuk4 4:4.4.5-2the Nepomuk Meta Data Library ii libphonon4 4:4.6.0really4.4.2-1 the core library of the Phonon mul ii libqt4-dbus 4:4.6.3-4Qt 4 D-Bus module ii libqt4-network 4:4.6.3-4Qt 4 network module ii libqt4-qt3support 4:4.6.3-4Qt 3 compatibility library for Qt ii libqt4-xml 4:4.6.3-4Qt 4 XML module ii libqtcore4 4:4.6.3-4Qt 4 core module ii libqtgui4 4:4.6.3-4Qt 4 GUI module ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 ii libthreadweaver44:4.4.5-2the ThreadWeaver Library for the K ii perl5.10.1-17Larry Wall's Practical Extraction ii phonon 4:4.6.0really4.4.2-1 metapackage for the Phonon multime Versions of packages kmail recommends: ii gnupg-agent 2.0.14-2 GNU privacy guard - password agent ii gnupg22.0.14-2 GNU privacy guard - a free PGP rep ii pinentry-qt [pinentry-x11]0.8.0-1Qt-3-based PIN or pass-phrase entr Versions of packages kmail suggests: pn clamav | f-prot-installer (no description available) ii kaddressbook 4:4.4.7-3 address book and contact data mana ii
Bug#522680: konsole: bitmap font unusable
Package: konsole Version: 4:3.5.9.dfsg.1-6 Severity: normal Hello, I used konsole with the bitmap font once provided in xfons-konsole package. After upgrade from etch to lenny I'm unable to use it. Even if i click the Font/Install Bitmap... option and proceed. I can see the fonts in ~/.fonts, I can use them with xterm -fn -misc-console-medium-r-normal--16-160-72-72-c-80-iso10646-1 but konsole itself cannot find it, and neither can kde control center, or any kde app. Can someone tell me what should I do to make KDE use fonts in ~/.fonts ? Thanks Vladislav Kurz -- System Information: Debian Release: 5.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=sk_SK, LC_CTYPE=sk_SK (charmap=ISO-8859-2) Shell: /bin/sh linked to /bin/bash Versions of packages konsole depends on: ii kdelibs4c2a 4:3.5.10.dfsg.1-0lenny1 core libraries and binaries for al ii libc62.7-18 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1.1 GCC support library ii libqt3-mt3:3.3.8b-5+b1 Qt GUI Library (Threaded runtime v ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3 ii libx11-6 2:1.1.5-2 X11 client-side library ii libxrender1 1:0.9.4-2 X Rendering Extension client libra konsole recommends no packages. Versions of packages konsole suggests: ii khelpcente 4:4.0.0.really.3.5.9.dfsg.1-6 help center for KDE -- no debconf information -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org