[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/kmail
From:       Will Stephenson <wstephenson () kde ! org>
Date:       2009-04-08 17:23:35
Message-ID: 1239211415.004795.3902.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 951205 by wstephens:

Backport 927077

Make sure to not execute executables when clicking a link,
if the Url has no or a wrong extension.

https://bugzilla.novell.com/show_bug.cgi?id=490696

CCMAIL: winter@kde.org


 M  +2 -1      kmcommands.cpp  


--- branches/KDE/3.5/kdepim/kmail/kmcommands.cpp #951204:951205
@@ -2414,7 +2414,8 @@
         .arg( mUrl.prettyURL() ), QString::null, i18n("Execute"), \
KStdGuiItem::cancel() ) != KMessageBox::Yes)  return Canceled;
     }
-    (void) new KRun( mUrl );
+    KRun * runner = new KRun( mUrl );
+    runner->setRunExecutables( false );
   }
   else
     return Failed;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic