mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
+ m_strURL.setPass( QString::null ); // don't put the password in the error URL
svn path=/trunk/kdebase/konqueror/; revision=173307
This commit is contained in:
parent
5af451deb3
commit
9508f6f32b
1 changed files with 4 additions and 1 deletions
|
@ -37,6 +37,7 @@ KonqRun::KonqRun( KonqMainWindow* mainWindow, KonqView *_childView,
|
|||
!req.typedURL.isEmpty(), trustedSource ),
|
||||
m_pMainWindow( mainWindow ), m_pView( _childView ), m_bFoundMimeType( false ), m_req( req )
|
||||
{
|
||||
//kdDebug(1202) << "KonqRun::KonqRun() " << this << endl;
|
||||
assert( !m_pMainWindow.isNull() );
|
||||
if (m_pView)
|
||||
m_pView->setLoading(true);
|
||||
|
@ -44,7 +45,7 @@ KonqRun::KonqRun( KonqMainWindow* mainWindow, KonqView *_childView,
|
|||
|
||||
KonqRun::~KonqRun()
|
||||
{
|
||||
kdDebug(1202) << "KonqRun::~KonqRun()" << endl;
|
||||
//kdDebug(1202) << "KonqRun::~KonqRun() " << this << endl;
|
||||
}
|
||||
|
||||
void KonqRun::foundMimeType( const QString & _type )
|
||||
|
@ -150,6 +151,8 @@ void KonqRun::handleError( KIO::Job *job )
|
|||
KURL newURL = QString("error:/?error=%1&errText=%2")
|
||||
.arg( job->error() ).arg( job->errorText() );
|
||||
|
||||
m_strURL.setPass( QString::null ); // don't put the password in the error URL
|
||||
|
||||
KURL::List lst;
|
||||
lst << newURL << m_strURL;
|
||||
m_strURL = KURL::join( lst );
|
||||
|
|
Loading…
Reference in a new issue