Summary: | wrong/different icon (filetype) with symlinks | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | micha |
Component: | general | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
micha
2001-09-02 21:26:52 UTC
Version: KDE 3.0.2 Installed from: SuSE RPMs Compiler: Not Specified OS: Linux OS/Compiler notes: Not Specified If a symlink points to a file with a different extension the extension of the symlink is used to select the icon. This wouldn't be bad if it were used for the on-click-action too. Instead the extension/filetype of the target file will be used. Example: cat>malicious.sh<<EOF #!/bin/sh /usr/X11R6/bin/xeyes EOF chmod 777 malicious.sh ln -s malicious.sh harmless.jpg This problem was propably introduced while fixing bug 32006 therefore i'll report it here. (Submitted via bugs.kde.org) Subject: KDE_3_1_BRANCH: kdebase/konqueror CVS commit by mueller: make sure we don't change the servicetype during execution CCMAIL: 32006-done@bugs.kde.org M +1 -1 konq_mainwindow.cc 1.1083.2.32 --- kdebase/konqueror/konq_mainwindow.cc #1.1083.2.31:1.1083.2.32 @@ -456,5 +456,5 @@ void KonqMainWindow::openURL( KonqView * // Fast mode for local files: do the stat ourselves instead of letting KRun do it. - if ( url.isLocalFile() ) + if ( serviceType.isEmpty() && url.isLocalFile() ) { QCString _path( QFile::encodeName(url.path())); |