[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kioslave/http
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2010-04-11 7:57:07
Message-ID: 20100411075707.8EC43AC894 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1113602 by adawit:

Do not put quotation marks around parameters that were not supposed to
have one in the first place. Fixes a bug first reported 7 years ago ?!? 

BUG: 150392


 M  +4 -5      httpauthentication.cpp  


--- trunk/KDE/kdelibs/kioslave/http/httpauthentication.cpp #1113601:1113602
@@ -496,18 +496,17 @@
   auth += m_resource.encodedPathAndQuery(KUrl::LeaveTrailingSlash, KUrl::AvoidEmptyPath).toLatin1();
 
   if (!info.algorithm.isEmpty()) {
-    auth += "\", algorithm=\"";
+    auth += "\", algorithm=";
     auth += info.algorithm;
-    auth +="\"";
   }
 
   if ( !info.qop.isEmpty() )
   {
-    auth += ", qop=\"";
+    auth += ", qop=";
     auth += info.qop;
-    auth += "\", cnonce=\"";
+    auth += ", cnonce=";
     auth += info.cnonce;
-    auth += "\", nc=";
+    auth += ", nc=";
     auth += info.nc;
   }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic