| Summary: | Konqueor crashes on opengroupware bugzilla | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Sebastian Voitzsch <sebastian> |
| Component: | khtml forms | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Sebastian Voitzsch
2004-03-11 23:14:56 UTC
CVS commit by faure:
Fix KMultipart's reaction to bugzilla sending "text/html; charset=utf-8" as Content-Type
BUGS: 77333, 83476
M +4 -0 kmultipart.cpp 1.20.6.1
--- kdelibs/khtml/kmultipart/kmultipart.cpp #1.20:1.20.6.1
@@ -110,4 +110,5 @@ KMultiPart::KMultiPart( QWidget *parentW
m_part = 0L;
+ m_isHTMLPart = false;
m_job = 0L;
m_lineParser = new KLineParser;
@@ -243,4 +244,7 @@ void KMultiPart::slotData( KIO::Job *job
Q_ASSERT( m_nextMimeType.isNull() );
m_nextMimeType = QString::fromLatin1( line.data() + 14 ).stripWhiteSpace();
+ int semicolon = m_nextMimeType.find( ';' );
+ if ( semicolon != -1 )
+ m_nextMimeType = m_nextMimeType.left( semicolon );
kdDebug() << "m_nextMimeType=" << m_nextMimeType << endl;
}
|