rev 6297 - in trunk/packages/kdelibs/debian: . patches

Ana Beatriz Guerrero López ana at alioth.debian.org
Sun May 20 15:56:20 UTC 2007


Author: ana
Date: 2007-05-20 15:56:20 +0000 (Sun, 20 May 2007)
New Revision: 6297

Added:
   trunk/packages/kdelibs/debian/patches/45_gmail_spoof.diff
Modified:
   trunk/packages/kdelibs/debian/changelog
Log:
gmail spoofing patch


Modified: trunk/packages/kdelibs/debian/changelog
===================================================================
--- trunk/packages/kdelibs/debian/changelog	2007-05-20 14:27:55 UTC (rev 6296)
+++ trunk/packages/kdelibs/debian/changelog	2007-05-20 15:56:20 UTC (rev 6297)
@@ -13,8 +13,10 @@
        45_konqueror-CVE-2007-0537.diff,
        46_CVE-2007-1564-kdelibs-3.5.6.diff,
        47_kdelibs-kjs-utf8-parsing.diff.
+  * Apply patch 45_gmail_spoof.diff by Allan Sandfeld, fixes gmail.com when browsing 
+    the website spoofing konqueror as firefox browser.
 
- -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Mon, 14 May 2007 18:27:10 +0100
+ -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sun, 20 May 2007 15:44:32 +0100
 
 kdelibs (4:3.5.6.r1.dfsg.1-4) unstable; urgency=low
 

Added: trunk/packages/kdelibs/debian/patches/45_gmail_spoof.diff
===================================================================
--- trunk/packages/kdelibs/debian/patches/45_gmail_spoof.diff	                        (rev 0)
+++ trunk/packages/kdelibs/debian/patches/45_gmail_spoof.diff	2007-05-20 15:56:20 UTC (rev 6297)
@@ -0,0 +1,16 @@
+--- kdelibs-3.5.7.dfsg.1/khtml/html/html_elementimpl.cpp.orig	2007-05-20 18:47:02.000000000 +0200
++++ kdelibs-3.5.7.dfsg.1/khtml/html/html_elementimpl.cpp	2007-05-20 18:48:47.000000000 +0200
+@@ -562,6 +562,13 @@
+ 
+ void HTMLElementImpl::setInnerHTML( const DOMString &html, int &exceptioncode )
+ {
++    // Works line innerText in Gecko
++    // ### test if needed for ID_SCRIPT as well.
++    if ( id() == ID_STYLE ) {
++        setInnerText(html, exceptioncode);
++        return;
++    }
++
+     DocumentFragment fragment = createContextualFragment( html );
+     if ( fragment.isNull() ) {
+         exceptioncode = DOMException::NO_MODIFICATION_ALLOWED_ERR;




More information about the pkg-kde-commits mailing list