diff options
Diffstat (limited to 'packages/konqueror/konqueror-embedded-20030705/malformed.patch')
-rw-r--r-- | packages/konqueror/konqueror-embedded-20030705/malformed.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/konqueror/konqueror-embedded-20030705/malformed.patch b/packages/konqueror/konqueror-embedded-20030705/malformed.patch index e69de29bb2..542d2079d3 100644 --- a/packages/konqueror/konqueror-embedded-20030705/malformed.patch +++ b/packages/konqueror/konqueror-embedded-20030705/malformed.patch @@ -0,0 +1,19 @@ +diff -uNr konq.orig/konq-embed/src/mainwindowbase.cc konqueror-embedded-snapshot-20030705/konq-embed/src/mainwindowbase.cc +--- konq.orig/konq-embed/src/mainwindowbase.cc 2005-01-26 14:34:06.335579881 +0100 ++++ konqueror-embedded-snapshot-20030705/konq-embed/src/mainwindowbase.cc 2005-01-26 14:35:55.839632151 +0100 +@@ -357,12 +357,12 @@ + + if ( u.isMalformed() ) + { +- if ( QRegExp( "^www" ).match( text ) == 0 ) +- u = KURL( text.prepend( "http://" ) ); + #if defined(ENABLE_FTP) +- else if ( QRegExp( "^ftp" ).match( text ) == 0 ) ++ if ( QRegExp( "^ftp" ).match( text ) == 0 ) + u = KURL( text.prepend( "ftp://" ) ); ++ else + #endif ++ u = KURL( text.prepend( "http://" ) ); + } + + if ( !u.isMalformed() ) |