konq doesn't display html error messages
David Faure
faure at kde.org
Fri Feb 6 19:30:15 GMT 2004
On Friday 06 February 2004 18:42, Dirk Mueller wrote:
> correct. when there is a redirection, and it errors out the first time, we
> should not replace the webpage by the error page, but instead restart the
> timer.
It's even easier if the logic is "not on reload" rather than "not on redirection",
and it makes a bit more sense I think.
This seems to fix it.
Index: konq_run.cc
===================================================================
RCS file: /home/kde/kdebase/konqueror/konq_run.cc,v
retrieving revision 1.90
diff -u -p -r1.90 konq_run.cc
--- konq_run.cc 6 Feb 2004 16:28:15 -0000 1.90
+++ konq_run.cc 6 Feb 2004 19:29:40 -0000
@@ -36,7 +36,9 @@ KonqRun::KonqRun( KonqMainWindow* mainWi
: KParts::BrowserRun( _url, req.args, _childView ? _childView->part() : 0L, mainWindow,
//remove referrer if request was typed in manually.
// ### TODO: turn this off optionally.
- !req.typedURL.isEmpty(), trustedSource, true ),
+ !req.typedURL.isEmpty(), trustedSource,
+ // Don't use inline errors on reloading (e.g. auto-refresh sites)
+ !req.args.reload ),
m_pMainWindow( mainWindow ), m_pView( _childView ), m_bFoundMimeType( false ), m_req( req )
{
//kdDebug(1202) << "KonqRun::KonqRun() " << this << endl;
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kfm-devel
mailing list