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

Raúl Sánchez Siles kebianizao-guest at alioth.debian.org
Sat Sep 13 17:41:21 UTC 2008


Author: kebianizao-guest
Date: 2008-09-13 17:41:21 +0000 (Sat, 13 Sep 2008)
New Revision: 12172

Added:
   trunk/packages/kdelibs/debian/patches/61_httpheader_backport.diff
Modified:
   trunk/packages/kdelibs/debian/changelog
Log:
Fixed wrong http header parsing, added 61_httpheader_backport.diff

Modified: trunk/packages/kdelibs/debian/changelog
===================================================================
--- trunk/packages/kdelibs/debian/changelog	2008-09-13 17:26:30 UTC (rev 12171)
+++ trunk/packages/kdelibs/debian/changelog	2008-09-13 17:41:21 UTC (rev 12172)
@@ -3,6 +3,7 @@
   * kdeprint: Wrong initscript name (cupsys instead of cups) (Closes:
     #496110)
   * Fixed 98_buildprep.patch so double compilation works.
+  * Fixed wrong http header parsing, added 61_httpheader_backport.diff 
 
  -- Raúl Sánchez Siles <rasasi78 at gmail.com>  Thu, 28 Aug 2008 18:25:57 +0200
 

Added: trunk/packages/kdelibs/debian/patches/61_httpheader_backport.diff
===================================================================
--- trunk/packages/kdelibs/debian/patches/61_httpheader_backport.diff	                        (rev 0)
+++ trunk/packages/kdelibs/debian/patches/61_httpheader_backport.diff	2008-09-13 17:41:21 UTC (rev 12172)
@@ -0,0 +1,13 @@
+Index: kdelibs/kioslave/http/http.cc
+===================================================================
+--- kdelibs/kioslave/http/http.cc	(revisión: 860100)
++++ kdelibs/kioslave/http/http.cc	(revisión: 860101)
+@@ -2753,7 +2753,7 @@
+     // calling application later
+     m_responseHeaders << QString::fromLatin1(buf);
+ 
+-    if ((strncasecmp(buf, "HTTP", 4) == 0) ||
++    if ((strncasecmp(buf, "HTTP/", 5) == 0) ||
+         (strncasecmp(buf, "ICY ", 4) == 0)) // Shoutcast support
+     {
+       if (strncasecmp(buf, "ICY ", 4) == 0)




More information about the pkg-kde-commits mailing list