CVS commit by hausmann: - don't execute external protocol handlers with /bin/sh M +1 -3 krun.cpp 1.10.2.15 --- kdenox/konq-embed/dropin/kio/krun.cpp #1.10.2.14:1.10.2.15 @@ -245,5 +245,4 @@ int KRun::exec( const QString &app, cons #endif #if !defined(Q_WS_WIN) - QCString cmdline = app.local8Bit() + " " + arg.local8Bit(); int filedes[2]; @@ -287,6 +286,5 @@ int KRun::exec( const QString &app, cons if ( !ref.isEmpty() ) ::setenv( "PROTOCOL_REFERER", ref.latin1(), true ); - const char *shell = "/bin/sh"; - execl( shell, shell, "-c", cmdline.data(), 0 ); + execlp( app.local8Bit().data(), app.local8Bit().data(), arg.local8Bit().data(), 0 ); ::exit( errno ); #endif